function _signup_get_cancel_link in Signup 7
Same name and namespace in other branches
- 6.2 signup.module \_signup_get_cancel_link()
- 6 signup.module \_signup_get_cancel_link()
Generate a link to cancel a given signup.
Parameters
int $sid: The signup ID.
2 calls to _signup_get_cancel_link()
- signup_token_values in ./
signup.module - Implements hook_token_values() (from token.module)().
- _signup_get_email_tokens in ./
signup.module - Helper function that returns an array of tokens for signup emails.
File
- ./
signup.module, line 1770 - 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_get_cancel_link($sid) {
$token = signup_get_token($sid, 'cancel');
return url("signup/cancel/{$sid}/{$token}", array(
'absolute' => TRUE,
));
}