summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2012-10-11 14:53:49 (GMT)
committer Jennifer Hodgdon2012-10-11 14:53:49 (GMT)
commit4e7f00a2a2a603ec89f5364231fe3db425376a0d (patch)
tree96596f1027c7f0f513f840ba6262439386dfb92a
parentbfdecf2ee246945ee6bd56279630431e7df3e1d4 (diff)
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 6d9b33f..d932f07 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