From 3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Apr 2010 15:23:03 +0000 Subject: - Patch #716496 by JohnAlbin: documentation updates for theme functions. --- modules/menu/menu.admin.inc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'modules/menu') 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 */ -- cgit v1.2.3