You are here

function views_ajax_get_menu in Views Ajax Get 7

Implements hook_menu().

File

./views_ajax_get.module, line 11
Allows Views ajax to work with GET instead of POST.

Code

function views_ajax_get_menu() {
  $items = array();
  $items['admin/config/system/views_ajax_get'] = array(
    'title' => 'Views Ajax Get Settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'views_ajax_get_admin_form',
    ),
    'access arguments' => array(
      'administer views ajax get',
    ),
    'file' => 'views_ajax_get.admin.inc',
  );
  return $items;
}