You are here

function seo_menu in Drupal SEO Essentials 7

Implements hook_menu().

File

./seo.module, line 24

Code

function seo_menu() {

  // Module settings.
  $items['admin/config/search/seo'] = array(
    'title' => 'SEO Essentials',
    'description' => 'Configuration settings for SEO Essentials.',
    'page callback' => 'seo_admin_settings',
    'page arguments' => array(
      5,
    ),
    'access arguments' => array(
      'administer seo',
    ),
    'file' => 'seo.admin.inc',
    'weight' => 2,
    'type' => MENU_NORMAL_ITEM,
  );
  $items['admin/config/search/seo/setup'] = array(
    'title' => 'Setup wizard',
    'description' => 'Setup wizard to help you get started quickly.',
    'page callback' => 'seo_admin_setup',
    'page arguments' => array(
      5,
    ),
    'access arguments' => array(
      'administer seo',
    ),
    'file' => 'seo.setup.inc',
    'weight' => 2,
    'type' => MENU_LOCAL_ACTION,
  );
  $items['seo/util'] = array(
    'title' => t('SEO util'),
    'page callback' => 'seo_util',
    'access arguments' => array(
      'administer-site-configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}