summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
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 = '';