You are here

function session_cookie_lifetime_menu in Session cookie lifetime 7

Implements hook_menu().

File

./session_cookie_lifetime.module, line 10
Session configuration Drupal module.

Code

function session_cookie_lifetime_menu() {
  $items = array();
  $items['admin/config/system/session_cookie_lifetime'] = array(
    'title' => 'Session expiration',
    'description' => 'Manage the amount of time before session cookies used on the site expire.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'session_cookie_lifetime_admin_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}