You are here

function cacheexclude_admin_settings in CacheExclude 5.2

Same name and namespace in other branches
  1. 5 cacheexclude.module \cacheexclude_admin_settings()
  2. 6.2 cacheexclude.module \cacheexclude_admin_settings()
  3. 7.2 cacheexclude.module \cacheexclude_admin_settings()
1 string reference to 'cacheexclude_admin_settings'
cacheexclude_menu in ./cacheexclude.module

File

./cacheexclude.module, line 19

Code

function cacheexclude_admin_settings() {
  $form['cacheexclude_list'] = array(
    '#type' => 'textarea',
    '#title' => t('Pages to exclude from caching'),
    '#default_value' => variable_get('cacheexclude_list', ''),
    '#width' => 40,
    '#height' => 10,
    '#description' => t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are %blog for the blog page and %blog-wildcard for every personal blog. %front is the front page.", array(
      '%blog' => 'blog',
      '%blog-wildcard' => 'blog/*',
      '%front' => '<front>',
    )),
  );
  return system_settings_form($form);
}