function page_title_menu in Page Title 7.2
Same name and namespace in other branches
- 8.2 page_title.module \page_title_menu()
- 5.2 page_title.module \page_title_menu()
- 5 page_title.module \page_title_menu()
- 6.2 page_title.module \page_title_menu()
- 6 page_title.module \page_title_menu()
- 7 page_title.module \page_title_menu()
Implement hook_menu().
File
- ./
page_title.module, line 116 - Enhanced control over the page title (in the head tag).
Code
function page_title_menu() {
$items = array();
$items['admin/config/search/page-title'] = array(
'title' => 'Page titles',
'description' => 'Configure the page titles for your site (the title in the <head> tag).',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'page_title_admin_settings',
),
'access arguments' => array(
'administer page titles',
),
'type' => MENU_NORMAL_ITEM,
'file' => 'page_title.admin.inc',
);
return $items;
}