You are here

function http_auth_menu in HTTP Auth 7

Implements hook_menu().

File

./http_auth.module, line 11
Enables Drupal to add HTTP Auth from frontend on all over the site/pages.

Code

function http_auth_menu() {
  $items = array();
  $items['admin/config/development/http-auth'] = array(
    'title' => 'Http Auth settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'http_auth_settings_form',
    ),
    'access arguments' => array(
      'administer http auth module',
    ),
    'description' => 'Allow to add HTTP Auth on your site or admin pages',
  );
  return $items;
}