You are here

function shib_auth_menu in Shibboleth Authentication 5.2

Same name and namespace in other branches
  1. 5.3 shib_auth.module \shib_auth_menu()
  2. 6.4 shib_auth.module \shib_auth_menu()
  3. 6 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 248

Code

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