function hansel_token_info in Hansel breadcrumbs 7
Same name and namespace in other branches
- 8 hansel.module \hansel_token_info()
 
Implements of hook_token_info().
File
- ./
hansel.module, line 882  - Hansel module
 
Code
function hansel_token_info() {
  $tokens = array(
    'hansel-path' => array(
      'name' => t('Hansel path'),
      'description' => t('The URL alias generated by Hansel.'),
    ),
  );
  return array(
    'tokens' => array(
      'node' => $tokens,
      'term' => $tokens,
      'user' => $tokens,
    ),
  );
}