function js_menu in JS Callback Handler 7
Same name and namespace in other branches
- 7.2 js.module \js_menu()
Implements hook_menu().
File
- ./
js.module, line 10 - JavaScript callback handler module.
Code
function js_menu() {
$items = array();
$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;
}