blob: a2bbbdc15b14e36e2b84928ec98947e09255e7c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
// $Id$
/**
* @file
* Dummy module implementing hook menu to test changing the menu name.
*/
/**
* The name of the menu changes during the course of this test. Use a $_GET.
*/
function menu_test_menu() {
$items['menu_name_test'] = array(
'title' => t('Test menu_name router item'),
'page callback' => 'node_save',
'menu_name' => isset($_GET["hook_menu_name"]) ? $_GET["hook_menu_name"] : 'original',
);
return $items;
}
|