function _signup_build_token_help in Signup 7
Same name and namespace in other branches
- 5.2 signup.module \_signup_build_token_help()
- 6.2 includes/token_help.inc \_signup_build_token_help()
- 6 includes/token_help.inc \_signup_build_token_help()
Private function to generate HTML for showing the available tokens
Return value
The themed representation of the available tokens.
1 call to _signup_build_token_help()
- _signup_token_help in includes/
token_help.inc - Private function to generate HTML for showing the available tokens.
File
- includes/
token_help.inc, line 33 - Code for building help text for token.module support on various forms.
Code
function _signup_build_token_help() {
static $help_html = '';
if (empty($help_html) && module_exists('token')) {
$help_html = theme('token_tree', array(
'token_types' => array(
'signup',
'node',
'global',
),
'click_insert' => TRUE,
'show_restricted' => TRUE,
));
}
return $help_html;
}