You are here

function signup_node_admin_details_form_submit in Signup 5.2

Submit handler for cancelling multiple signups via node/N/signups.

This saves the selected users into SESSION and redirects to a confirm form which is registered at node/N/signups/confirm.

File

./signup.module, line 1967
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_node_admin_details_form_submit($form_id, $form_values) {
  $_SESSION['signup_cancel_multiple_users'] = array_filter($form_values['users']);
  return 'node/' . $form_values['nid'] . '/signups/confirm';
}