You are here

function signup_user_cancel_form in Signup 5.2

Same name and namespace in other branches
  1. 5 signup.module \signup_user_cancel_form()
1 string reference to 'signup_user_cancel_form'
signup_forms in ./signup.module
Implementation of hook_forms().

File

./signup.module, line 2261
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_user_cancel_form($nid, $uid, $anon_mail) {
  $form['#base'] = 'signup_form_cancel';
  $form['nid'] = array(
    '#type' => 'value',
    '#value' => $nid,
  );
  $form['uid'] = array(
    '#type' => 'value',
    '#value' => $uid,
  );
  $form['signup_anon_mail'] = array(
    '#type' => 'value',
    '#value' => $anon_mail,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Cancel signup'),
  );
  return $form;
}