function hook_form_alter
Search API
Alter forms which are created using the Form API
1 function implements hook_form_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- tinymce_form_alter in modules/
tinymce/ tinymce.module - Implementation of hook_form_alter
File
- includes/
hook.api.php, line 33 - Lists all available hooks within FlightPath's core code.
Code
function hook_form_alter(&$form, $form_id) {
if ($form_id == "example_form_callback") {
$form ["new_element"] = array(
// ...
);
}
}