You are here

function hook_signup_open in Signup 7

Same name and namespace in other branches
  1. 6.2 signup.api.php \hook_signup_open()
  2. 6 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

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

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 112
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,
  )));
}