You are here

function simpletest_example_menu in Examples for Developers 7

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

Implements hook_menu().

Provides an explanation.

Related topics

File

simpletest_example/simpletest_example.module, line 98
Module file for simpletest_example

Code

function simpletest_example_menu() {
  $items['examples/simpletest_example'] = array(
    'title' => 'Simpletest Example',
    'description' => 'Explain the simpletest example and allow the error logic to be executed.',
    'page callback' => '_simpletest_example_explanation',
    'access callback' => TRUE,
  );
  return $items;
}