function session_api_menu in Session API 5
Same name and namespace in other branches
- 6 session_api.module \session_api_menu()
- 7 session_api.module \session_api_menu()
Implementation of hook_menu().
File
- ./
session_api.module, line 47 - The Session API module provides a quick interface for storing information in the session.
Code
function session_api_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/session-api',
'title' => t('Session API Configuration'),
'description' => t('Configure Session API behavior'),
'access' => user_access('administer site configuration'),
'callback' => 'drupal_get_form',
'callback arguments' => array(
'session_api_settings_form',
),
);
}
return $items;
}