function node_page_title_settings in Page Title 8.2
Same name and namespace in other branches
- 6.2 modules/node.page_title.inc \node_page_title_settings()
- 7.2 modules/node.page_title.inc \node_page_title_settings()
Implements hook_page_title_settings().
File
- modules/
node.page_title.inc, line 69 - Node implementations of the page title hooks
Code
function node_page_title_settings() {
$settings = array();
$types = node_type_get_types();
foreach ($types as $type) {
$settings['page_title_type_' . $type->type] = array(
'label' => 'Content Type - %type',
'label arguments' => array(
'%type' => $type->name,
),
'scopes' => array(
'global',
'node',
'term',
'vocabulary',
),
'show field' => TRUE,
'description' => 'This pattern will be used for all %type node-type pages',
'description arguments' => array(
'%type' => $type->name,
),
);
}
return $settings;
}