hook_elements()
docs-5/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. |
<?php
function hook_elements() {
$type['filter_format'] = array('#input' => TRUE);
return $type;
}
?>