You are here

function seochecklist_menu in SEO Checklist 5.2

Same name and namespace in other branches
  1. 5 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 24
SEO Checklist module allows users to track important SEO techniques on the website.

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('access seochecklist content'),
    );
  }
  return $items;
}