You are here

function hook_signup_open in Signup 6.2

Same name and namespace in other branches
  1. 6 signup.api.php \hook_signup_open()
  2. 7 signup.api.php \hook_signup_open()

Hook invoked whenever a node is reopened for signups.

A node with signups closed could be reopened in two main cases: 1) someone cancels a signup and the signup limit is no longer reached; 2) a signup administrator manually re-opens signups.

Parameters

$node: Fully-loaded node object that is now open for signups.

Return value

Ignored.

See also

signup_open_signup()

1 invocation of hook_signup_open()
signup_open_signup in ./signup.module
Callback function for reopening signups

File

./signup.api.php, line 174
This file documents the hooks invoked by the Signup module.

Code

function hook_signup_open($node) {
  drupal_set_message(t('Duplicate message: signups are now open on %title.', array(
    '%title' => $node->title,
  )));
}