You are here

function shib_auth_menu in Shibboleth Authentication 6

Same name and namespace in other branches
  1. 5.3 shib_auth.module \shib_auth_menu()
  2. 5.2 shib_auth.module \shib_auth_menu()
  3. 6.4 shib_auth.module \shib_auth_menu()
  4. 6.2 shib_auth.module \shib_auth_menu()
  5. 6.3 shib_auth.module \shib_auth_menu()
  6. 7.4 shib_auth.module \shib_auth_menu()

Generate the menu element to access the Shibboleth authentication module's administration page @returns HTML text of the administer menu element

File

./shib_auth.module, line 222

Code

function shib_auth_menu() {
  $items = array();
  $items['admin/user/shib_auth'] = array(
    'title' => t('Shibboleth settings'),
    'description' => t('Control the various settings of the shibboleth authentication module'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'shib_auth_admin',
    ),
    'access arguments' => array(
      'administer shibboleth authentication',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}