Posted By

focal55 on 12/06/10


Tagged

MODULES drupal


Versions (?)

Drupal 6 hook_form_alter


 / Published in: PHP
 

  1. function mymodule_form_alter(&$form, $form_state, $form_id) {
  2. if ($form_id == 'story_node_form') {
  3. drupal_set_message(t('Editing a story node!'));
  4. }
  5. }

Report this snippet  

You need to login to post a comment.