function ldap_help_menu in Lightweight Directory Access Protocol (LDAP) 8.2
Same name and namespace in other branches
- 7.2 ldap_help/ldap_help.module \ldap_help_menu()
- 7 ldap_help/ldap_help.module \ldap_help_menu()
Implements hook_menu().
File
- ldap_help/
ldap_help.module, line 13 - The ldaphelp module is a module to help admins debug ldap_integration modules.
Code
function ldap_help_menu() {
$items = array();
$items['admin/config/people/ldap/help'] = array(
'title' => 'Help',
'type' => MENU_LOCAL_TASK,
'weight' => 9,
'description' => 'Debugging and Configuration Help with LDAP',
'file' => 'ldap_help.resources.inc',
'page callback' => 'ldap_help_main',
'access arguments' => array(
'administer site configuration',
),
);
$items['admin/config/people/ldap/help/intro'] = array(
'title' => 'Resources',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/people/ldap/help/status'] = array(
'title' => 'Status',
'description' => 'LDAP status page',
'page callback' => 'ldap_help_status',
'access arguments' => array(
'administer site configuration',
),
'file' => 'ldap_help.status.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 4,
);
$items['admin/config/people/ldap/help/watchdog'] = array(
'title' => 'Watchdog',
'description' => 'LDAP watchdog logs',
'page callback' => 'ldap_help_watchdog',
'access arguments' => array(
'administer site configuration',
),
'file' => 'ldap_help.watchdog.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 5,
);
$items['admin/config/people/ldap/help/issues'] = array(
'title' => 'Issue Reporting',
'description' => 'Creating LDAP Issue Queue Items',
'page callback' => 'ldap_help_issues',
'access arguments' => array(
'administer site configuration',
),
'file' => 'ldap_help.issues.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 7,
);
$items['admin/config/people/ldap/help/examples'] = array(
'title' => 'Sample LDAPs',
'description' => 'Sample LDAPs from Documentation',
'page callback' => 'ldap_help_examples',
'access arguments' => array(
'administer site configuration',
),
'file' => 'ldap_help.examples.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 7,
);
return $items;
}