1 js_example.module js_example_menu()

Implements hook_menu().

Related topics

File

modules/examples/js_example/js_example.module, line 29
Hook implementations for the JavaScript Example module.

Code

function js_example_menu() {
  $items = array();
  $items['js_example/weights'] = array(
    'title' => 'JavaScript Example: weighting in action',
    'page callback' => 'js_example_js_weights',
    'access callback' => TRUE,
  );
  $items['js_example/accordion'] = array(
    'title' => 'JavaScript Example: jQuery UI accordion',
    'page callback' => 'js_example_accordion',
    'access callback' => TRUE,
  );
  return $items;
}