function ldap_api_info in Lightweight Directory Access Protocol (LDAP) 6
Implements the info page.
Return value
The form structure.
1 string reference to 'ldap_api_info'
- ldap_api_menu in ./
ldap_api.module - Implementation of hook_menu().
File
- ./
ldap_api.admin.inc, line 14 - Administrative page callbacks for the ldap_api module.
Code
function ldap_api_info() {
drupal_add_css(drupal_get_path('module', 'system') . '/system.css', 'module', 'all', FALSE);
include_once drupal_get_path('module', 'system') . '/system.admin.inc';
$data = _ldap_api_get_ldap_settings();
foreach ($data as $title => $value) {
if (!is_array($value)) {
$status[] = array(
'title' => $title,
'value' => $value,
);
}
}
return theme_status_report($status);
}