function signup_get_token in Signup 6.2
Same name and namespace in other branches
- 6 signup.module \signup_get_token()
- 7 signup.module \signup_get_token()
Generate a token for the given signup ID.
2 calls to signup_get_token()
- signup_edit_form in includes/
signup_edit_form.inc - Build the form for editing existing signups.
- _signup_get_cancel_link in ./
signup.module - Generate a link to cancel a given signup.
File
- ./
signup.module, line 1112 - 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_token($sid, $operation) {
$private_key = drupal_get_private_key();
return md5("signup_token:{$sid}:{$operation}:{$private_key}");
}