You are here

function memcache_admin_admin_settings in Memcache API and Integration 6

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

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