This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Implements hook_form_alter(). | |
| */ | |
| function MYMODULE_form_alter(&$form, &$form_state, $form_id) { | |
| // If you have the Devel module turned on, use this to inspect the form array | |
| // You can also use the form id to select a specific node type (like "article_node_form") | |
| // dpm($form); | |
| // dpm($form_id); | |
| // The isset() here is just to prevent PHP notices for forms where its not present |
NewerOlder