From 4e7f00a2a2a603ec89f5364231fe3db425376a0d Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Thu, 11 Oct 2012 07:53:49 -0700 Subject: Issue #1803194 by alextataurov: Add return docs for module_hook_info() function --- includes/module.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3