| Versions | |
|---|---|
| 4.7 – 6 | hook_elements() |
Allows modules to declare their own form element types and specify their default values.
An array of element types
developer/
<?php
function hook_elements() {
$type['filter_format'] = array('#input' => TRUE);
return $type;
}
?>