You are here

function page_title_token_info in Page Title 7.2

Same name and namespace in other branches
  1. 8.2 page_title.tokens.inc \page_title_token_info()
  2. 7 page_title.module \page_title_token_info()

Implements hook_token_info().

File

./page_title.tokens.inc, line 11
Builds placeholder replacement tokens for page titles.

Code

function page_title_token_info() {
  $info['tokens']['current-page']['page-title'] = array(
    'name' => t('Page Title'),
    'description' => t('The title of the current page, as processed by the Page Title module.'),
  );
  return $info;
}