You are here

function book_token_info in Token 7

Same name and namespace in other branches
  1. 8 token.tokens.inc \book_token_info()

Implements hook_token_info() on behalf of book.module.

File

./token.tokens.inc, line 993
Token callbacks for the token module.

Code

function book_token_info() {
  $info['tokens']['node']['book'] = array(
    'name' => t('Book'),
    'description' => t('The book page associated with the node.'),
    'type' => 'menu-link',
  );
  return $info;
}