You are here

function simpletest_example_menu in Examples for Developers 6

Same name and namespace in other branches
  1. 7 simpletest_example/simpletest_example.module \simpletest_example_menu()

Implementation of hook_menu().

Provide an explanation.

Related topics

File

simpletest_example/simpletest_example.module, line 95
An example of simpletest tests to accompany the tutorial at http://drupal.org/node/395012.

Code

function simpletest_example_menu() {
  $items['examples/simpletest_example'] = array(
    'title' => 'SimpleTest Example',
    'description' => 'Explain the SimpleTest example.',
    'page callback' => '_simpletest_example_explanation',
    'access callback' => TRUE,
  );
  return $items;
}