throttle_menu

Definition

throttle_menu($may_cache)
throttle/throttle.module, line 8

Code

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