You are here

function page_title_menu in Page Title 7

Same name and namespace in other branches
  1. 8.2 page_title.module \page_title_menu()
  2. 5.2 page_title.module \page_title_menu()
  3. 5 page_title.module \page_title_menu()
  4. 6.2 page_title.module \page_title_menu()
  5. 6 page_title.module \page_title_menu()
  6. 7.2 page_title.module \page_title_menu()

Implement hook_menu().

File

./page_title.module, line 59
Enhanced control over the page title (in the head tag).

Code

function page_title_menu() {
  $items = array();
  $items['admin/content/page_title'] = array(
    'title' => 'Page titles',
    'description' => 'Enhanced control over the page titles (in the <head> tag).',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'page_title_admin_settings',
    ),
    'access arguments' => array(
      'administer page titles',
    ),
    'type' => MENU_LOCAL_TASK,
    'file' => 'page_title.admin.inc',
  );
  return $items;
}