function signup_form_alter in Signup 5.2
Same name and namespace in other branches
- 5 signup.module \signup_form_alter()
- 6.2 signup.module \signup_form_alter()
- 6 signup.module \signup_form_alter()
- 7 signup.module \signup_form_alter()
Implementation of hook_form_alter().
Related topics
File
- ./
signup.module, line 402 - 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_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;
case '_content_admin_field':
if (function_exists('_signup_date_field_form_alter')) {
_signup_date_field_form_alter($form_id, $form);
}
break;
}
}