You are here

function ajax_ui_menu in Ajax 6

hook_menu

Return value

Assoc

File

ajax_ui/ajax_ui.module, line 21

Code

function ajax_ui_menu() {
  $items['admin/settings/ajax'] = array(
    'title' => t('Ajax Settings'),
    'description' => t('Controls which forms should use AJAX submissions.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'ajax_ui_admin',
    ),
    'access arguments' => array(
      'administer ajax forms',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}