function expire_menu in Cache Expiration 7
Same name and namespace in other branches
- 6 expire.module \expire_menu()
- 7.2 expire.module \expire_menu()
Implementation of hook_menu().
File
- ./
expire.module, line 18 - Provides logic for page cache expiration
Code
function expire_menu() {
$items = array();
$items['admin/config/development/performance/default'] = array(
'title' => 'Performance',
'type' => MENU_DEFAULT_LOCAL_TASK,
'file path' => drupal_get_path('module', 'system'),
'weight' => -5,
);
$items['admin/config/development/performance/expire'] = array(
'type' => MENU_LOCAL_TASK,
'title' => 'Cache Expiration',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'expire_admin_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'file path' => drupal_get_path('module', 'expire'),
'file' => 'expire.admin.inc',
);
return $items;
}