memcache_status.module in Memcache Status 8
Same filename and directory in other branches
Memcache Status module hooks.
File
memcache_status.moduleView source
<?php
/**
* @file
* Memcache Status module hooks.
*/
/**
* Implements hook_menu().
*/
function memcache_status_menu() {
$items['admin/reports/status/memcache'] = array(
'title' => 'Memcache status',
'type' => MENU_CALLBACK,
'description' => 'Report for the current status of Memcache.',
'route_name' => 'memcache_status.report',
);
return $items;
}
/**
* Implements hook_permission().
*/
function memcache_status_permission() {
return array(
'access memcache status' => array(
'title' => t('Access Memcache status'),
'description' => t('View cache reports and flush memcache servers.'),
'restrict access' => TRUE,
),
);
}
Functions
Name![]() |
Description |
---|---|
memcache_status_menu | Implements hook_menu(). |
memcache_status_permission | Implements hook_permission(). |