You are here

function js_menu in JS Callback Handler 7.2

Same name and namespace in other branches
  1. 7 js.module \js_menu()

Implements hook_menu().

File

./js.module, line 38
JavaScript callback handler module.

Code

function js_menu() {
  $items['admin/config/system/js'] = array(
    'title' => 'JS Callback handler',
    'description' => 'Configure JavaScript callback handler.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'js_configure_form',
    ),
    'access arguments' => array(
      'administer js',
    ),
    'file' => 'js.admin.inc',
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}