You are here

memcache_status.module in Memcache Status 8

Same filename and directory in other branches
  1. 6 memcache_status.module
  2. 7 memcache_status.module

Memcache Status module hooks.

File

memcache_status.module
View 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

Namesort descending Description
memcache_status_menu Implements hook_menu().
memcache_status_permission Implements hook_permission().