summaryrefslogtreecommitdiff
path: root/modules/menu
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-13 15:23:03 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-13 15:23:03 +0000
commit3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d (patch)
tree4bd9c67db94feb06249cc2727dd3a5e935f58e12 /modules/menu
parentf8e14898d636ceae44a9980105da903f57d2deef (diff)
downloadbrdo-3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d.tar.gz
brdo-3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d.tar.bz2
- Patch #716496 by JohnAlbin: documentation updates for theme functions.
Diffstat (limited to 'modules/menu')
-rw-r--r--modules/menu/menu.admin.inc15
1 files changed, 13 insertions, 2 deletions
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc
index c73af82a4..3483ee6d2 100644
--- a/modules/menu/menu.admin.inc
+++ b/modules/menu/menu.admin.inc
@@ -25,7 +25,14 @@ function menu_overview_page() {
}
/**
- * Theme the menu title and description for admin page
+ * Returns HTML for a menu title and description for the menu overview page.
+ *
+ * @param $variables
+ * An associative array containing:
+ * - title: The menu's title.
+ * - description: The menu's description.
+ *
+ * @ingroup themeable
*/
function theme_menu_admin_overview($variables) {
$output = check_plain($variables['title']);
@@ -177,7 +184,11 @@ function menu_overview_form_submit($form, &$form_state) {
}
/**
- * Theme the menu overview form into a table.
+ * Returns HTML for the menu overview form into a table.
+ *
+ * @param $variables
+ * An associative array containing:
+ * - form: A render element representing the form.
*
* @ingroup themeable
*/