You are here

function SEOChecklist_menu in SEO Checklist 5

Same name and namespace in other branches
  1. 5.2 seochecklist.module \seochecklist_menu()
  2. 6.3 seochecklist.module \seochecklist_menu()
  3. 6.2 seochecklist.module \seochecklist_menu()
  4. 7.3 seochecklist.module \seochecklist_menu()

Implementation of hook_menu().

File

./SEOChecklist.module, line 15
seo_checklist.module Keep track of all the Search Engine Optimization related tasks in your Drupal site.

Code

function SEOChecklist_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/SEOChecklist',
      'title' => t('"SEO" Checklist'),
      'description' => t('Keep track of your Drupal Search Engine Optimization tasks.'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array(
        'SEOChecklist_admin_settings',
      ),
      'access' => user_access('administer site configuration'),
    );
  }
  return $items;
}