You are here

function seo_checker_menu in SEO Compliance Checker 6

Same name and namespace in other branches
  1. 6.2 seo_checker.module \seo_checker_menu()

Implementation of hook_menu().

Return value

array

File

./seo_checker.module, line 26

Code

function seo_checker_menu() {
  $items['admin/settings/seo_checker'] = array(
    'title' => t('SEO Checker'),
    'description' => t('Manage SEO Checker'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'seo_checker_settings',
    ),
    'access arguments' => array(
      'administer seo_checker configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  $items['admin/settings/seo_checker/thresholds'] = array(
    'title' => t('SEO Rule Thresholds'),
    'description' => t('Set the tresholds for the different SEO rules.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'seo_checker_settings',
    ),
    'access arguments' => array(
      'administer seo_checker configuration',
    ),
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => -1,
  );
  return $items;
}