You are here

function securepages_menu in Secure Pages 5

Same name and namespace in other branches
  1. 6.2 securepages.module \securepages_menu()
  2. 6 securepages.module \securepages_menu()
  3. 7 securepages.module \securepages_menu()

Implementation of hook_menu()

File

./securepages.module, line 44

Code

function securepages_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/securepages',
      'title' => t('Secure Pages'),
      'description' => t('Configure which pages are and are not to be viewed in SSL'),
      'callback' => 'drupal_get_form',
      'callback arguments' => 'securepages_settings',
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM,
    );
  }
  return $items;
}