hook_elements

5 core.php hook_elements()
6 core.php hook_elements()

Allows modules to declare their own form element types and specify their default values.

Return value

An array of element types

Related topics

4 functions implement hook_elements()

1 invocation of hook_elements()

File

developer/hooks/core.php, line 213
These are the hooks that are invoked by the Drupal core.

Code

function hook_elements() {
  $type['filter_format'] = array('#input' => TRUE);
  return $type;
}
Login or register to post comments