You are here

function signup_form_alter in Signup 5

Same name and namespace in other branches
  1. 5.2 signup.module \signup_form_alter()
  2. 6.2 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 282

Code

function signup_form_alter($form_id, &$form) {
  switch ($form_id) {
    case 'node_type_form':
      signup_alter_node_type_form($form_id, $form);
      break;
    case $form['type']['#value'] . '_node_form':
      signup_alter_node_form($form_id, $form);
      break;
  }
}