function memcache_admin_admin_settings in Memcache API and Integration 5
Same name and namespace in other branches
- 6 memcache_admin/memcache_admin.module \memcache_admin_admin_settings()
- 7 memcache_admin/memcache_admin.module \memcache_admin_admin_settings()
Settings form
1 string reference to 'memcache_admin_admin_settings'
- memcache_admin_menu in memcache_admin/
memcache_admin.module - Implementation of hook_menu
File
- memcache_admin/
memcache_admin.module, line 108
Code
function memcache_admin_admin_settings() {
$form['show_memcache_statistics'] = array(
'#type' => 'checkbox',
'#title' => t('Show memcache statistics at the bottom of each page'),
'#default_value' => variable_get('show_memcache_statistics', 1),
'#description' => t("These statistics will be visible to users with the 'access memcache statistics' permission."),
);
return system_settings_form($form);
}