function filter_element_info

Implements hook_element_info().

See also

filter_process_format()

text_format_wrapper()

File

modules/filter/filter.module, line 76

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.