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