You are here

function page_title_token_info in Page Title 7

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

Implement hook_token_info().

File

./page_title.module, line 528
Enhanced control over the page title (in the head tag).

Code

function page_title_token_info() {
  $result = array();
  $result['tokens']['site']['page-title'] = array(
    'name' => t('Page Title'),
    'description' => t('The Page Title is used in the head of the page'),
  );
  return $result;
}