On this page
function filter_element_info
filter_element_info()
Implements hook_element_info().
See also
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;
}
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!filter!filter.module/function/filter_element_info/7.x