function token_help in Token 6
Same name and namespace in other branches
- 8 token.module \token_help()
- 5 token.module \token_help()
- 7 token.module \token_help()
Implements hook_help().
File
- ./
token.module, line 27 - The Token API module.
Code
function token_help($path, $arg) {
if ($path == 'admin/help#token') {
$output = '<dl>';
$output .= '<dt>' . t('List of the currently available tokens on this site') . '</dt>';
$output .= '<dd>' . theme('token_tree', 'all', TRUE, FALSE) . '</dd>';
$output .= '</dl>';
return $output;
}
}