You are here

function memcache_admin_permission in Memcache API and Integration 7

Implements hook_perm().

File

memcache_admin/memcache_admin.module, line 30
For the collection and display of memcache stats.

Code

function memcache_admin_permission() {
  return array(
    'access memcache statistics' => array(
      'title' => t('Access memcache statistics'),
    ),
    'access slab cachedump' => array(
      'title' => t('Access cachedump of memcache slab'),
      'restrict access' => TRUE,
    ),
  );
}