diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-13 15:23:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-13 15:23:03 +0000 |
commit | 3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d (patch) | |
tree | 4bd9c67db94feb06249cc2727dd3a5e935f58e12 /modules/simpletest | |
parent | f8e14898d636ceae44a9980105da903f57d2deef (diff) | |
download | brdo-3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d.tar.gz brdo-3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d.tar.bz2 |
- Patch #716496 by JohnAlbin: documentation updates for theme functions.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/simpletest.pages.inc | 15 |
1 files changed, 9 insertions, 6 deletions
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']; |