You are here

function url_alter_test_menu in Drupal 7

Implements hook_menu().

File

modules/simpletest/tests/url_alter_test.module, line 11
Module to help test hook_url_inbound_alter() and hook_url_outbound_alter().

Code

function url_alter_test_menu() {
  $items['url-alter-test/foo'] = array(
    'title' => 'Foo',
    'page callback' => 'url_alter_test_foo',
    'access arguments' => array(
      'access content',
    ),
    'type' => MENU_CALLBACK,
  );
  return $items;
}