function simplesamlphp_auth_menu in simpleSAMLphp Authentication 7.2
Same name and namespace in other branches
- 6.3 simplesamlphp_auth.module \simplesamlphp_auth_menu()
- 6.2 simplesamlphp_auth.module \simplesamlphp_auth_menu()
- 7.3 simplesamlphp_auth.module \simplesamlphp_auth_menu()
- 7 simplesamlphp_auth.module \simplesamlphp_auth_menu()
Implements hook_menu().
File
- ./
simplesamlphp_auth.module, line 34 - simpleSAMLphp authentication module for Drupal.
Code
function simplesamlphp_auth_menu() {
$items = array();
$items['admin/config/people/simplesamlphp_auth'] = array(
'title' => 'SimpleSAMLphp Auth Settings',
'description' => 'Control the various settings of the simpleSAMLphp authentication module',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'simplesamlphp_auth_settings',
),
'access arguments' => array(
'administer simpleSAMLphp authentication',
),
'type' => MENU_LOCAL_TASK | MENU_NORMAL_ITEM,
'file' => 'simplesamlphp_auth.admin.inc',
);
$items['saml_login'] = array(
'title' => 'Logon to the site',
'description' => 'Provides a site login page',
'page callback' => 'simplesamlphp_auth_loginpage',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}