You are here

function cacheexclude_menu in CacheExclude 7.2

Same name and namespace in other branches
  1. 5.2 cacheexclude.module \cacheexclude_menu()
  2. 5 cacheexclude.module \cacheexclude_menu()
  3. 6.2 cacheexclude.module \cacheexclude_menu()

Implements hook_menu().

File

./cacheexclude.module, line 6

Code

function cacheexclude_menu() {
  $items['admin/config/system/cacheexclude'] = array(
    'title' => t('Cache exclusions'),
    'description' => t('Configure pages to exclude from caching.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'cacheexclude_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}