throttle_menu

Versions
5
throttle_menu($may_cache)
6
throttle_menu()

Code

modules/throttle/throttle.module, line 8

<?php
function throttle_menu($may_cache) {
  $items = array();

  if ($may_cache) {
    $items[] = array(
      'path' => 'admin/settings/throttle',
      'description' => t('Control how your site cuts out content during heavy load.'),
      'title' => t('Throttle'),
      'callback' => 'drupal_get_form',
      'callback arguments' => array('throttle_admin_settings'),
      'access' => user_access('administer site configuration'),
      'type' => MENU_NORMAL_ITEM
    );
  }

  return $items;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.