You are here

function simple_ldap_role_menu in Simple LDAP 7

Same name and namespace in other branches
  1. 7.2 simple_ldap_role/simple_ldap_role.module \simple_ldap_role_menu()

Implements hook_menu().

File

simple_ldap_role/simple_ldap_role.module, line 10
Main simple_ldap_role module file.

Code

function simple_ldap_role_menu() {
  $items = array();
  $items['admin/config/people/simple_ldap/role'] = array(
    'title' => 'Roles',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'simple_ldap_role_admin',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'simple_ldap_role.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 2,
  );
  return $items;
}