You are here

function expire_menu in Cache Expiration 7.2

Same name and namespace in other branches
  1. 6 expire.module \expire_menu()
  2. 7 expire.module \expire_menu()

Implementation of hook_menu().

File

./expire.module, line 102
Provides logic for page cache expiration.

Code

function expire_menu() {
  $items['admin/config/system/expire'] = array(
    'title' => 'Cache Expiration',
    'description' => 'Settings for expiration of cached pages.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'expire_admin_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'expire.admin.inc',
  );
  return $items;
}