You are here

function signup_node_tab in Signup 6

Same name and namespace in other branches
  1. 5.2 signup.module \signup_node_tab()
  2. 6.2 includes/node_output.inc \signup_node_tab()
  3. 7 includes/node_output.inc \signup_node_tab()

Page handler for the optional 'signup' tab on nodes.

This is only used if the site has configured the signup form and related output to appear on a separate tab, instead of directly embedded in the node.

Parameters

$node: The node to generate a signup tab for.

Return value

The contents of the signup tab.

See also

_signup_node_output()

File

includes/node_output.inc, line 153
Code used to generate singup-related output when viewing nodes.

Code

function signup_node_tab($node) {
  drupal_set_title(check_plain($node->title));
  return _signup_node_output($node, 'tab');
}