You are here

function memcache_admin_admin_settings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/memcache/memcache_admin/memcache_admin.module \memcache_admin_admin_settings()

Settings form.

1 string reference to 'memcache_admin_admin_settings'
memcache_admin_menu in modules/memcache/memcache_admin/memcache_admin.module
Implements hook_menu().

File

modules/memcache/memcache_admin/memcache_admin.module, line 106

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', FALSE),
    '#description' => t("These statistics will be visible to users with the 'access memcache statistics' permission."),
  );
  return system_settings_form($form);
}