You are here

function _signup_get_cancel_link in Signup 6.2

Same name and namespace in other branches
  1. 6 signup.module \_signup_get_cancel_link()
  2. 7 signup.module \_signup_get_cancel_link()

Generate a link to cancel a given signup.

2 calls to _signup_get_cancel_link()
signup_token_values in ./signup.module
Implement 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 1645
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,
  ));
}