function signup_node_tab in Signup 6
Same name and namespace in other branches
- 5.2 signup.module \signup_node_tab()
- 6.2 includes/node_output.inc \signup_node_tab()
- 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
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');
}