You are here

function chosen_menu in Chosen 7.2

Same name and namespace in other branches
  1. 6 chosen.module \chosen_menu()
  2. 7.3 chosen.module \chosen_menu()
  3. 7 chosen.module \chosen_menu()

Implements hook_menu().

File

./chosen.module, line 35
General functions and hook implementations.

Code

function chosen_menu() {
  $items = array();
  $items['admin/config/user-interface/chosen'] = array(
    'title' => 'Chosen',
    'description' => 'Configuration for Chosen plugin',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'chosen_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'chosen.admin.inc',
  );
  return $items;
}