You are here

function no_autocomplete_menu in No Autocomplete 6

Same name and namespace in other branches
  1. 7 no_autocomplete.module \no_autocomplete_menu()

Implements hook_menu() to add admin settings form.

Return value

mixed

File

./no_autocomplete.module, line 28
no_autocomplete.module

Code

function no_autocomplete_menu() {
  $items['admin/settings/no_autocomplete'] = array(
    'title' => 'No Autocomplete',
    'description' => 'Turn on autocomplete=off for key user forms',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'no_autocomplete_admin_settings_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}