You are here

function signup_node_tab in Signup 7

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. 6 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

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

Return value

string The contents of the signup tab.

See also

_signup_node_output()

File

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

Code

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