summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-10-11 07:53:49 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-10-11 07:53:49 -0700
commit4e7f00a2a2a603ec89f5364231fe3db425376a0d (patch)
tree96596f1027c7f0f513f840ba6262439386dfb92a
parentbfdecf2ee246945ee6bd56279630431e7df3e1d4 (diff)
downloadbrdo-4e7f00a2a2a603ec89f5364231fe3db425376a0d.tar.gz
brdo-4e7f00a2a2a603ec89f5364231fe3db425376a0d.tar.bz2
Issue #1803194 by alextataurov: Add return docs for module_hook_info() function
-rw-r--r--includes/module.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/includes/module.inc b/includes/module.inc
index 6d9b33f13..d932f07b9 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -744,7 +744,14 @@ function module_implements($hook, $sort = FALSE, $reset = FALSE) {
}
/**
- * Retrieves a list of what hooks are explicitly declared.
+ * Retrieves a list of hooks that are declared through hook_hook_info().
+ *
+ * @return
+ * An associative array whose keys are hook names and whose values are an
+ * associative array containing a group name. The structure of the array
+ * is the same as the return value of hook_hook_info().
+ *
+ * @see hook_hook_info()
*/
function module_hook_info() {
// This function is indirectly invoked from bootstrap_invoke_all(), in which