diff options
author | Dries <dries@buytaert.net> | 2011-11-22 20:32:24 -0500 |
---|---|---|
committer | Dries <dries@buytaert.net> | 2011-11-22 20:32:24 -0500 |
commit | ac2747336afab9b4812ef1550235acf86782d0c6 (patch) | |
tree | a0539d3588b1dee9381d958fb0a4a2a1a9242914 /modules/system/system.api.php | |
parent | 7530f8bf403c0fef9827f23dd7977405877dfed7 (diff) | |
download | brdo-ac2747336afab9b4812ef1550235acf86782d0c6.tar.gz brdo-ac2747336afab9b4812ef1550235acf86782d0c6.tar.bz2 |
- Patch #1087940 by drewish, rocket_nova: document that wildcard % doesn't work as first argument in menu paths.
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r-- | modules/system/system.api.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 7ffdae4ea..f241eea78 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -991,7 +991,8 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) { * ); * @endcode * When path 'my-module/foo/edit' is requested, integer 1 will be replaced - * with 'foo' and passed to the callback function. + * with 'foo' and passed to the callback function. Note that wildcards may not + * be used as the first component. * * Registered paths may also contain special "auto-loader" wildcard components * in the form of '%mymodule_abc', where the '%' part means that this path |