hook_elements()
contributions/docs/developer/hooks/core.php, line 213
Allows modules to declare their own form element types and specify their default values.
An array of element types
| Name | Description |
|---|---|
| Hooks | Allow modules to interact with the Drupal core. |
function hook_elements() {
$type['filter_format'] = array('#input' => TRUE);
return $type;
}