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/simpletest/simpletest.pages.inc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'modules/simpletest') diff --git a/modules/simpletest/simpletest.pages.inc b/modules/simpletest/simpletest.pages.inc index 72d01e4a9..980075e84 100644 --- a/modules/simpletest/simpletest.pages.inc +++ b/modules/simpletest/simpletest.pages.inc @@ -58,14 +58,13 @@ function simpletest_test_form($form) { } /** - * Theme the test list generated by simpletest_test_form() into a table. + * Returns HTML for a test list generated by simpletest_test_form() into a table. * * @param $variables * An associative array containing: - * - table: Form array that represent a table. + * - table: A render element representing the table. * - * @return - * HTML output. + * @ingroup themeable */ function theme_simpletest_test_table($variables) { $table = $variables['table']; @@ -366,9 +365,13 @@ function simpletest_result_form_submit($form, &$form_state) { } /** - * Add wrapper div with class based on summary status. + * Returns HTML for the summary status of a simpletest result. * - * @return HTML output. + * @param $variables + * An associative array containing: + * - form: A render element representing the form. + * + * @ingroup themeable */ function theme_simpletest_result_summary($variables) { $form = $variables['form']; -- cgit v1.2.3