function signup_form_cancel in Signup 5
Same name and namespace in other branches
- 5.2 signup.module \signup_form_cancel()
Builder function for the cancel signup form
2 string references to 'signup_form_cancel'
- signup_nodeapi in ./
signup.module - hook_nodeapi implementation
- signup_user_cancel_form in ./
signup.module
File
- ./
signup.module, line 698
Code
function signup_form_cancel($node) {
global $user;
$form['nid'] = array(
'#type' => 'value',
'#value' => $node->nid,
);
$form['uid'] = array(
'#type' => 'value',
'#value' => $user->uid,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Cancel signup'),
);
return $form;
}