function page_title_menu in Page Title 5
Same name and namespace in other branches
- 8.2 page_title.module \page_title_menu()
- 5.2 page_title.module \page_title_menu()
- 6.2 page_title.module \page_title_menu()
- 6 page_title.module \page_title_menu()
- 7.2 page_title.module \page_title_menu()
- 7 page_title.module \page_title_menu()
Implementation of hook_menu().
File
- ./
page_title.module, line 43 - Enhanced control over the page title (in the head tag).
Code
function page_title_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/page_title',
'title' => t('Page title'),
'description' => t('Enhanced control over the page title (in the <head> tag).'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'page_title_admin_settings',
),
'access' => user_access('administer site configuration'),
'type' => MENU_NORMAL_ITEM,
);
}
return $items;
}