You are here

function blockcache_alter_menu in Block Cache Alter 7

Same name and namespace in other branches
  1. 6 blockcache_alter.module \blockcache_alter_menu()

Implementation of hook_menu().

File

./blockcache_alter.module, line 11
Block cache alter module.

Code

function blockcache_alter_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/blockcache_alter'] = array(
    'type' => MENU_LOCAL_TASK,
    'title' => 'Blockcache Alter',
    'description' => 'Debug settings for Blockcache Alter',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'blockcache_alter_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}