diff options
authorDries2012-12-14 15:10:27 (GMT)
committerDries2012-12-14 15:10:27 (GMT)
commit646d120fd444359cc2ee41ba8bb4879d150493e4 (patch)
parent6810dfa82730809ee98378f3a75bc8c02904e6a4 (diff)
Issue #1851788 by blake.thompson: fixed hook_menu() doesn't mention 'expanded'.
1 files changed, 4 insertions, 0 deletions
diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php
index 4839034..b4dc260 100644
--- a/core/modules/system/system.api.php
+++ b/core/modules/system/system.api.php
@@ -834,6 +834,10 @@ function hook_menu_get_item_alter(&$router_item, $path, $original_map) {
* same weight are ordered alphabetically.
* - "menu_name": Optional. Set this to a custom menu if you don't want your
* item to be placed in the default Tools menu.
+ * - "expanded": Optional. If set to TRUE, and if a menu link is provided for
+ * this menu item (as a result of other properties), then the menu link is
+ * always expanded, equivalent to its 'always expanded' checkbox being set
+ * in the UI.
* - "context": (optional) Defines the context a tab may appear in. By
* default, all tabs are only displayed as local tasks when being rendered
* in a page context. All tabs that should be accessible as contextual links