From 1fc2ac33ca753c06e31ae381893274188271ca08 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon <yahgrp@poplarware.com> Date: Thu, 11 Oct 2012 07:52:40 -0700 Subject: [PATCH] Issue #1803194 by alextataurov: Add return docs for module_hook_info() function --- core/includes/module.inc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/includes/module.inc b/core/includes/module.inc index 5a17873da593..c1d99f238ffe 100644 --- a/core/includes/module.inc +++ b/core/includes/module.inc @@ -867,7 +867,14 @@ function module_implements_reset() { } /** - * 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() { // When this function is indirectly invoked from bootstrap_invoke_all() prior -- GitLab