function filter_element_info
7.x filter.module | filter_element_info() |
Implements hook_element_info().
See also
text_format_wrapper()
File
- drupal-7.x/
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;
}