You are here

function autocomplete_widgets_menu in Autocomplete Widgets for Text and Number Fields 7

Same name and namespace in other branches
  1. 6 autocomplete_widgets.module \autocomplete_widgets_menu()

Implementation of hook_menu().

File

./autocomplete_widgets.module, line 11
Provides autocomplete widgets for Text and Number fields.

Code

function autocomplete_widgets_menu() {
  $items = array();
  $items['autocomplete_widgets'] = array(
    'title' => 'Autocomplete Widgets',
    'page callback' => 'autocomplete_widgets_json',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}