diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-12-22 01:36:41 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-12-22 01:36:41 -0800 |
commit | db0b9c89fc9c30d98a6b49e8a60de41de9d4fac9 (patch) | |
tree | cc88d56b3c75c4839261dd1fd26091ecc0bfe75b /modules/help/help.admin.inc | |
parent | 06d408fae3a9564916436933da89293e1ab0b904 (diff) | |
download | brdo-db0b9c89fc9c30d98a6b49e8a60de41de9d4fac9.tar.gz brdo-db0b9c89fc9c30d98a6b49e8a60de41de9d4fac9.tar.bz2 |
Issue #1319904 by rc_100, xjm, jhodgdon: Clean up API docs for help module.
Diffstat (limited to 'modules/help/help.admin.inc')
-rw-r--r-- | modules/help/help.admin.inc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/modules/help/help.admin.inc b/modules/help/help.admin.inc index 3db06ca1a..ec1a18e33 100644 --- a/modules/help/help.admin.inc +++ b/modules/help/help.admin.inc @@ -17,6 +17,9 @@ function help_main() { /** * Menu callback; prints a page listing general help for a module. + * + * @param $name + * A module name to display a help page for. */ function help_page($name) { $output = ''; @@ -46,6 +49,12 @@ function help_page($name) { return $output; } +/** + * Provides a formatted list of available help topics. + * + * @return + * A string containing the formatted list. + */ function help_links_as_list() { $empty_arg = drupal_help_arg(); $module_info = system_rebuild_module_data(); @@ -58,7 +67,7 @@ function help_links_as_list() { } asort($modules); - // Output pretty four-column list + // Output pretty four-column list. $count = count($modules); $break = ceil($count / 4); $output = '<div class="clearfix"><div class="help-items"><ul>'; |