function labjs_menu in LABjs 6
Same name and namespace in other branches
- 7 labjs.module \labjs_menu()
Implementation of hook_menu().
File
- ./
labjs.module, line 13 - LABjs module
Code
function labjs_menu() {
$items = array();
$file_path = drupal_get_path('module', 'labjs') . '/includes';
$items['admin/settings/performance/default'] = array(
'title' => 'Performance',
'type' => MENU_DEFAULT_LOCAL_TASK,
'file path' => drupal_get_path('module', 'system'),
);
$items['admin/settings/performance/labjs'] = array(
'title' => 'LABjs',
'description' => 'Configure the settings used to wrap JS blocks.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'labjs_admin_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'file path' => $file_path,
'file' => 'labjs.admin.inc',
'type' => MENU_LOCAL_TASK,
'weight' => 1,
);
return $items;
}