function redis_menu in Redis 7
Same name and namespace in other branches
- 7.3 redis.module \redis_menu()
- 7.2 redis.module \redis_menu()
Implements hook_menu().
File
- ./
redis.module, line 14 - Redis module.
Code
function redis_menu() {
$items = array();
$items['admin/config/development/performance/cache'] = array(
'title' => "Cache",
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/development/performance/redis'] = array(
'title' => "Redis",
'page callback' => 'drupal_get_form',
'page arguments' => array(
'redis_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_LOCAL_TASK,
'file' => 'redis.admin.inc',
);
return $items;
}