function filter_element_info

Implements hook_element_info().

See also

filter_process_format()

text_format_wrapper()

File

drupal/modules/filter/filter.module, line 76
Framework for handling the filtering of content.

Code

function filter_element_info() {
  $type['text_format'] = array(
    '#process' => array(
      'filter_process_format',
    ),
    '#base_type' => 'textarea',
    '#theme_wrappers' => array(
      'text_format_wrapper',
    ),
  );
  return $type;
}