You are here

function memcache_admin_admin_settings in Memcache API and Integration 7

Same name and namespace in other branches
  1. 5 memcache_admin/memcache_admin.module \memcache_admin_admin_settings()
  2. 6 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
Implements hook_menu().

File

memcache_admin/memcache_admin.module, line 115
For the collection and display of memcache stats.

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);
}