You are here

function better_formats_elements in Better Formats 6

Same name and namespace in other branches
  1. 6.2 better_formats.module \better_formats_elements()

Implementation of hook_elements().

Adds a process function to CCK's text module FAPI elements.

File

./better_formats.module, line 306
Enhances Drupal's core input format settings.

Code

function better_formats_elements() {
  return array(
    'text_textfield' => array(
      '#process' => array(
        'better_formats_text_process',
      ),
    ),
    'text_textarea' => array(
      '#process' => array(
        'better_formats_text_process',
      ),
    ),
  );
}