| 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
File
- developer/
hooks/ core.php, line 213 - These are the hooks that are invoked by the Drupal core.
Code
<?php
function hook_elements() {
$type['filter_format'] = array('#input' => TRUE);
return $type;
}
?>Login or register to post comments