You are here

function cacheexclude_menu in CacheExclude 5

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

File

./cacheexclude.module, line 3

Code

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