1 book.tokens.inc book_token_info()

Implements hook_token_info().

File

core/modules/book/book.tokens.inc, line 10
Builds placeholder replacement tokens for book-related data.

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;
}