summaryrefslogtreecommitdiff
path: root/modules/help/help.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/help/help.admin.inc')
-rw-r--r--modules/help/help.admin.inc11
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>';