summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-10-10 10:31:02 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-10-10 10:31:02 -0700
commitbfdecf2ee246945ee6bd56279630431e7df3e1d4 (patch)
treef49b1b585d4c531466d9d7a899c40e501933b78a /includes/menu.inc
parente27ec205f7d9fc1398f7c46efe5a6c5e216bc3f3 (diff)
downloadbrdo-bfdecf2ee246945ee6bd56279630431e7df3e1d4.tar.gz
brdo-bfdecf2ee246945ee6bd56279630431e7df3e1d4.tar.bz2
Issue #1317626 by Albert Volkman: More API docs cleanup for includes H-M files
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index ae83a41e3..0cb9d23b8 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -607,7 +607,7 @@ function _menu_load_objects(&$item, &$map) {
}
/**
- * Checks access to a menu item using the access callback
+ * Checks access to a menu item using the access callback.
*
* @param $item
* A menu router or menu link item
@@ -1592,7 +1592,7 @@ function _menu_tree_data(&$links, $parents, $depth) {
}
/**
- * Preprocesses the rendered tree for theme_menu_tree().
+ * Implements template_preprocess_HOOK() for theme_menu_tree().
*/
function template_preprocess_menu_tree(&$variables) {
$variables['tree'] = $variables['tree']['#children'];
@@ -2260,7 +2260,13 @@ function menu_local_tabs() {
/**
* Returns HTML for primary and secondary local tasks.
*
+ * @param $variables
+ * An associative array containing:
+ * - primary: (optional) An array of local tasks (tabs).
+ * - secondary: (optional) An array of local tasks (tabs).
+ *
* @ingroup themeable
+ * @see menu_local_tasks()
*/
function theme_menu_local_tasks(&$variables) {
$output = '';