You are here

function context_ui_menu in Context 6.3

Same name and namespace in other branches
  1. 5 context_ui/context_ui.module \context_ui_menu()
  2. 6 context_ui/context_ui.module \context_ui_menu()
  3. 6.2 context_ui/context_ui.module \context_ui_menu()
  4. 7.3 context_ui/context_ui.module \context_ui_menu()

Implementation of hook_menu().

File

context_ui/context_ui.module, line 78

Code

function context_ui_menu() {
  $items = array();
  $items['admin/build/context/settings'] = array(
    'title' => 'Settings',
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer site configuration',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'context_ui_settings',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 3,
  );
  return $items;
}