diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-01-08 16:16:58 -0800 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2013-01-08 16:16:58 -0800 |
commit | ebcaa13d87954bf1e613976656c11f471bdfd622 (patch) | |
tree | c26ba0f7096eb509b3c6701dace5bedc78dd31f3 /modules/system | |
parent | aecf88993caa09349ba746d0d5a2d69c8dc2b5d2 (diff) | |
download | brdo-ebcaa13d87954bf1e613976656c11f471bdfd622.tar.gz brdo-ebcaa13d87954bf1e613976656c11f471bdfd622.tar.bz2 |
Issue #1851788 by cck, blake.thompson: Add docs for hook_menu for expanded property
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.api.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 4391c27b9..802f47072 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -1201,6 +1201,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 Navigation. + * - "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 |