function taxonomy_page_title_settings in Page Title 6.2
Same name and namespace in other branches
- 8.2 modules/taxonomy.page_title.inc \taxonomy_page_title_settings()
- 7.2 modules/taxonomy.page_title.inc \taxonomy_page_title_settings()
Implementation of hook_page_title_settings().
File
- modules/
taxonomy.page_title.inc, line 51 - Taxonomy implementations of the page title hooks
Code
function taxonomy_page_title_settings() {
$settings = array();
$vocabs = taxonomy_get_vocabularies();
foreach ($vocabs as $vocab) {
$settings['page_title_vocab_' . $vocab->vid] = array(
'label' => 'Vocabulary - %vocab_name',
'label arguments' => array(
'%vocab_name' => $vocab->name,
),
'scopes' => array(
'global',
'taxonomy',
),
'show field' => TRUE,
'description' => 'This pattern will be used for all %vocab_name term pages',
'description arguments' => array(
'%vocab_name' => $vocab->name,
),
);
}
return $settings;
}