You are here

function securesite_menu in Secure Site 5

Same name and namespace in other branches
  1. 6.2 securesite.module \securesite_menu()
  2. 6 securesite.module \securesite_menu()
  3. 7.2 securesite.module \securesite_menu()

Implementation of hook_menu()

File

./securesite.module, line 55
Secure Site contrib module

Code

function securesite_menu($may_cache) {
  $items = array();
  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/securesite',
      'title' => t('Secure Site'),
      'callback' => 'drupal_get_form',
      'callback arguments' => 'securesite_admin_settings',
      'description' => t('Enables HTTP Auth security or an HTML form to restrict site access.'),
      'access' => user_access('administer site configuration'),
    );
  }
  return $items;
}