function display_cache_menu in Display Cache 7
Implements hook_menu().
File
- ./
display_cache.module, line 47 - Module file for Display Cache.
Code
function display_cache_menu() {
$menu_items = array();
// Menu item for configurations.
$menu_items['admin/config/development/display-cache'] = array(
'title' => 'Display Cache',
'description' => 'Form to submit cache flush for display cache.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'display_cache_flush_caches_form',
),
'access arguments' => array(
'administer display cache',
),
'file' => 'display_cache.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
return $menu_items;
}