You are here

function memcache_storage_menu in Memcache Storage 7

Implements hook_menu().

File

./memcache_storage.module, line 17
Provides hook implementation for Memcache Storage module.

Code

function memcache_storage_menu() {
  $items['admin/config/development/memcache_storage'] = array(
    'title' => 'Memcache storage',
    'description' => t('Manage Memcache Storage settings'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'memcache_storage_settings_form',
    ),
    'access arguments' => array(
      'administer memcache storage',
    ),
    'file' => 'memcache_storage.admin.inc',
  );
  $items['memcache_storage/delete/%/%/%'] = array(
    'page callback' => 'memcache_storage_clear_cache_ajax_callback',
    'page arguments' => array(
      2,
      3,
      4,
      5,
    ),
    'access arguments' => array(
      'view memcache storage debug',
    ),
    'theme callback' => 'ajax_base_page_theme',
    'type' => MENU_CALLBACK,
    'file' => 'memcache_storage.pages.inc',
  );
  return $items;
}