You are here

function token_help in Token 5

Same name and namespace in other branches
  1. 8 token.module \token_help()
  2. 6 token.module \token_help()
  3. 7 token.module \token_help()

Implements hook_help().

File

./token.module, line 27
The Token API module.

Code

function token_help($section) {
  if ($section == 'admin/help#token') {
    $output = '<dl>';
    $output .= '<dt>' . t('List of the currently available tokens on this site') . '</dt>';
    $output .= '<dd>' . theme('token_help', 'all') . '</dd>';
    $output .= '</dl>';
    return $output;
  }
}