summaryrefslogtreecommitdiff
path: root/modules/system/system.api.php
diff options
context:
space:
mode:
authorDries <dries@buytaert.net>2012-02-02 13:09:07 -0500
committerDries <dries@buytaert.net>2012-02-02 13:09:07 -0500
commita5f9c98543c14623193d017e0c2ab66bf8154a6a (patch)
tree27d5aa053e2a0cc9b474d08fcd45862063a987c6 /modules/system/system.api.php
parent4aaf9e18b87d3a4b3e73121606b71cafc5d58027 (diff)
downloadbrdo-a5f9c98543c14623193d017e0c2ab66bf8154a6a.tar.gz
brdo-a5f9c98543c14623193d017e0c2ab66bf8154a6a.tar.bz2
- Patch #1417754 by mkadin: hook_menu() docs need to explain that options don't work for tabs.
Diffstat (limited to 'modules/system/system.api.php')
-rw-r--r--modules/system/system.api.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index cb67268ca..b3a599990 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1200,7 +1200,8 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) {
* "default" task, which should display the same page as the parent item.
* If the "type" element is omitted, MENU_NORMAL_ITEM is assumed.
* - "options": An array of options to be passed to l() when generating a link
- * from this menu item.
+ * from this menu item. Note that the "options" parameter has no effect on
+ * MENU_LOCAL_TASK, MENU_DEFAULT_LOCAL_TASK, and MENU_LOCAL_ACTION items.
*
* For a detailed usage example, see page_example.module.
* For comprehensive documentation on the menu system, see