You are here

function chosen_menu in Chosen 6

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

Implement hook_menu()

File

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

Code

function chosen_menu() {
  $items = array();
  $items['admin/settings/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;
}