You are here

function entityreference_view_widget_menu in Entity Reference View Widget 7

Implements hook_menu().

File

./entityreference_view_widget.module, line 32

Code

function entityreference_view_widget_menu() {
  $items = array();
  $items['entityreference_view_widget/ajax'] = array(
    'title' => 'AJAX callback',
    'page callback' => 'entityreference_view_widget_ajax',
    'delivery callback' => 'ajax_deliver',
    'access callback' => TRUE,
    'theme callback' => 'ajax_base_page_theme',
    'type' => MENU_CALLBACK,
  );
  return $items;
}