function seotools_menu in Drupal SEO Tools 7
Same name and namespace in other branches
- 6 seotools.module \seotools_menu()
Implements hook_menu().
File
- ./
seotools.module, line 22 - Code for the SEO Tools feature.
Code
function seotools_menu() {
$items['admin/config/search/seotools'] = array(
'title' => 'SEO Tools',
'description' => 'Configuration settings for SEO Tools.',
'page callback' => 'seotools_admin_settings',
'page arguments' => array(
5,
),
'access arguments' => array(
'administer seotools',
),
'file' => 'seotools.admin.inc',
'weight' => 2,
'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/search/seotools/setup'] = array(
'title' => 'Setup wizard',
'description' => 'Setup wizard to help you get started quickly.',
'page callback' => 'seotools_admin_setup',
'page arguments' => array(
5,
),
'access arguments' => array(
'administer seotools',
),
'file' => 'seotools.setup.inc',
'weight' => 2,
'type' => MENU_LOCAL_ACTION,
);
$items['seotools/util'] = array(
'title' => 'Social media util',
'page callback' => 'seotools_util',
'access arguments' => array(
'administer-site-configuration',
),
'type' => MENU_CALLBACK,
);
return $items;
}