You are here

function signup_form_alter in Signup 6.2

Same name and namespace in other branches
  1. 5.2 signup.module \signup_form_alter()
  2. 5 signup.module \signup_form_alter()
  3. 6 signup.module \signup_form_alter()
  4. 7 signup.module \signup_form_alter()

Implementation of hook_form_alter().

Related topics

File

./signup.module, line 686
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

Code

function signup_form_alter(&$form, &$form_state, $form_id) {
  if (!empty($form['type']['#value'])) {
    if ($form_id == $form['type']['#value'] . '_node_form') {
      module_load_include('inc', 'signup', 'includes/node_form');
      signup_alter_node_form($form, $form_state, $form_id);
    }
  }
}