You are here

function global_filter_menu in Views Global Filter 6

Same name and namespace in other branches
  1. 8 global_filter.module \global_filter_menu()
  2. 7 global_filter.module \global_filter_menu()

Implements hook_menu().

Define Global Filter menu options.

File

./global_filter.module, line 94
global_filter.module

Code

function global_filter_menu() {
  $items['admin/settings/global_filter'] = array(
    'title' => 'Global Filter',
    'description' => 'Set the number of global filters you need, as well as the auto-submit selection function.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'global_filter_admin_config',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
  );
  return $items;
}