You are here

function page_title_page_title_settings in Page Title 7.2

Same name and namespace in other branches
  1. 8.2 modules/page_title.page_title.inc \page_title_page_title_settings()
  2. 6.2 modules/page_title.page_title.inc \page_title_page_title_settings()

Implements hook_page_title_settings().

File

modules/page_title.page_title.inc, line 41
Page Title implementations of the page title hooks

Code

function page_title_page_title_settings() {
  return array(
    'page_title_default' => array(
      'label' => 'Default',
      'scopes' => array(
        'global',
      ),
      'required' => TRUE,
      'show field' => FALSE,
      'description' => 'This pattern will be used as a <em>fallback</em> (ie, when no other pattern is defined)',
      'weight' => -50,
      'default' => '[current-page:page-title] | [site:name]',
    ),
    'page_title_front' => array(
      'label' => 'Frontpage',
      'scopes' => array(
        'global',
      ),
      'show field' => FALSE,
      'description' => 'This pattern will be used for the site frontpage',
      'weight' => -49,
      'default' => '[site:name] | [site:slogan]',
    ),
    'page_title_pager_pattern' => array(
      'label' => 'Pager Suffix',
      'scopes' => array(
        'global',
      ),
      'show field' => FALSE,
      'description' => 'This pattern will be appended to a page title for any given page with a pager on it',
      'weight' => -48,
    ),
  );
}