function uc_catalog_page_title_settings in Page Title 8.2
Same name and namespace in other branches
- 6.2 modules/uc_catalog.page_title.inc \uc_catalog_page_title_settings()
- 7.2 modules/uc_catalog.page_title.inc \uc_catalog_page_title_settings()
Implements hook_page_title_settings().
File
- modules/
uc_catalog.page_title.inc, line 53 - Ubercart Catalog implementations of the page title hooks
Code
function uc_catalog_page_title_settings() {
$settings = array();
$vocabs = taxonomy_get_vocabularies();
foreach ($vocabs as $vocab) {
$settings['page_title_uc_catalog_' . $vocab->vid] = array(
'label' => 'Ubercart Catalog - %vocab_name',
'label arguments' => array(
'%vocab_name' => $vocab->name,
),
'scopes' => array(
'global',
'term',
),
'show field' => FALSE,
'description' => 'This pattern will be used for all %vocab_name Ubercart catalog pages.<br />' . 'The Show Field setting does not apply here. Use the matching Vocabulary row.',
'description arguments' => array(
'%vocab_name' => $vocab->name,
),
);
}
return $settings;
}