Same name and namespace in other branches
  1. 5.x modules/throttle/throttle.module \throttle_menu()

@file Allows configuration of congestion control auto-throttle mechanism.

File

modules/throttle/throttle.module, line 8
Allows configuration of congestion control auto-throttle mechanism.

Code

function throttle_menu() {
  $items['admin/settings/throttle'] = array(
    'title' => 'Throttle',
    'description' => 'Control how your site cuts out content during heavy load.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'throttle_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'throttle.admin.inc',
  );
  return $items;
}