function simple_ldap_user_menu in Simple LDAP 7
Same name and namespace in other branches
- 7.2 simple_ldap_user/simple_ldap_user.module \simple_ldap_user_menu()
Implements hook_menu().
File
- simple_ldap_user/
simple_ldap_user.module, line 10 - Main simple_ldap_user module file.
Code
function simple_ldap_user_menu() {
$items = array();
$items['admin/config/people/simple_ldap/user'] = array(
'title' => 'Users',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'simple_ldap_user_admin',
),
'access arguments' => array(
'administer site configuration',
),
'file' => 'simple_ldap_user.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
$items['admin/people/simple_ldap_user_import'] = array(
'title' => 'Import from LDAP',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'simple_ldap_user_import',
),
'access arguments' => array(
'administer users',
),
'file' => 'simple_ldap_user.admin.inc',
'type' => MENU_LOCAL_ACTION,
);
return $items;
}