diff options
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 1356dd629..ea4255c74 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -925,6 +925,7 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) { * $items['abc/def'] = array( * 'page callback' => 'mymodule_abc_view', * ); + * return $items; * } * * function mymodule_abc_view($ghi = 0, $jkl = '') { @@ -953,6 +954,7 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) { * 'page callback' => 'mymodule_abc_view', * 'page arguments' => array(1, 'foo'), * ); + * return $items; * } * @endcode * When path 'abc/def' is requested, the page callback function will get 'def' |