diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-17 11:39:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-17 11:39:15 +0000 |
commit | 1d9df22742c3110e1322829c285dcfa6a4a603d3 (patch) | |
tree | 8e66728ece0f73f8ed5653da8d4f107174cbde66 /modules | |
parent | 4278afa16bb46819975f95fe91021edcb852ca47 (diff) | |
download | brdo-1d9df22742c3110e1322829c285dcfa6a4a603d3.tar.gz brdo-1d9df22742c3110e1322829c285dcfa6a4a603d3.tar.bz2 |
- Patch #473268 by sun: documentation improvements for edit in place.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/menu/menu.api.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/menu/menu.api.php b/modules/menu/menu.api.php index 65170333c..97f0737ae 100644 --- a/modules/menu/menu.api.php +++ b/modules/menu/menu.api.php @@ -199,12 +199,11 @@ * this alone; the default alphabetical order is usually best. * - "menu_name": Optional. Set this to a custom menu if you don't want your * item to be placed in Navigation. - * - "context": (optional) Defines the type of a tab to control its placement - * depending on the requested context. 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 in page region containers - * outside of the parent menu item's primary page context should be - * registered using one of the following contexts: + * - "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 + * in page region containers outside of the parent menu item's primary page + * context should be registered using one of the following contexts: * - MENU_CONTEXT_PAGE: (default) The tab is displayed as local task for the * page context only. * - MENU_CONTEXT_INLINE: The tab is displayed as contextual link outside of @@ -536,6 +535,8 @@ function hook_menu_local_tasks_alter(&$data, $router_item, $root_path) { * 'node/123' became 'node/%'. * * @see menu_contextual_links() + * @see hook_menu() + * @see system_preprocess() */ function hook_menu_contextual_links_alter(&$links, $router_item, $root_path) { // Add a link to all contextual links for nodes. |