memcache_status.install in Memcache Status 8
Same filename and directory in other branches
Memcache Status install-time module hooks.
File
memcache_status.installView source
<?php
/**
* @file
* Memcache Status install-time module hooks.
*/
/**
* Implements hook_requirements().
*/
function memcache_status_requirements($phase) {
$requirements = array();
$t = get_t();
if ($phase == 'runtime') {
$requirements['memcache_status'] = array(
'title' => $t('Memcache status'),
'value' => l(function_exists('memcache_debug') ? 'Enabled' : 'Disabled', 'admin/reports/status/memcache'),
);
}
return $requirements;
}
Functions
Name![]() |
Description |
---|---|
memcache_status_requirements | Implements hook_requirements(). |