function ban_menu

Implements hook_menu().

File

drupal/core/modules/ban/ban.module, line 43
Allows to ban individual IP addresses.

Code

function ban_menu() {
  $items['admin/config/people/ban'] = array(
    'title' => 'IP address bans',
    'description' => 'Manage banned IP addresses.',
    'route_name' => 'ban_admin_page',
    'weight' => 10,
  );
  $items['admin/config/people/ban/delete/%'] = array(
    'title' => 'Delete IP address',
    'route_name' => 'ban_delete',
  );
  return $items;
}