You are here

function filter_element_info in Drupal 7

Implements hook_element_info().

See also

filter_process_format()

text_format_wrapper()

File

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;
}