1 url_alter_test.module | url_alter_test_menu() |
Implements hook_menu().
File
- core/
modules/ simpletest/ tests/ url_alter_test.module, line 10 - 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;
}