diff options
-rw-r--r-- | includes/module.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/module.inc b/includes/module.inc index dbd1978d0..fc9b08c5a 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -12,6 +12,7 @@ * @param $bootstrap * Whether to load only the reduced set of modules loaded in "bootstrap mode" * for cached pages. See bootstrap.inc. + * * @return * If $bootstrap is NULL, return a boolean indicating whether all modules * have been loaded. @@ -46,6 +47,7 @@ function module_load_all($bootstrap = FALSE) { * @param $fixed_list * (Optional) Override the module list with the given modules. Stays until the * next call with $refresh = TRUE. + * * @return * An associative array whose keys and values are the names of all loaded * modules. @@ -183,6 +185,7 @@ function system_list_reset() { * * @param $files * The array of filesystem objects used to rebuild the cache. + * * @return * The same array with the new keys for each module: * - requires: An array with the keys being the modules that this module @@ -217,6 +220,7 @@ function _module_build_dependencies($files) { * * @param $module * The name of the module (without the .module extension). + * * @return * TRUE if the module is both installed and enabled. */ @@ -305,6 +309,7 @@ function module_load_all_includes($type, $name = NULL) { * - Invoke hook_enable(). * - Invoke hook_modules_installed(). * - Invoke hook_modules_enabled(). + * * @param $module_list * An array of module names. * @param $enable_dependencies @@ -543,6 +548,7 @@ function module_disable($module_list, $disable_dependents = TRUE) { * The name of the module (without the .module extension). * @param $hook * The name of the hook (e.g. "help" or "menu"). + * * @return * TRUE if the module is both installed and enabled, and the hook is * implemented in that module. @@ -711,6 +717,7 @@ function module_implements_write_cache() { * The name of the hook to invoke. * @param ... * Arguments to pass to the hook implementation. + * * @return * The return value of the hook implementation. */ @@ -730,6 +737,7 @@ function module_invoke() { * The name of the hook to invoke. * @param ... * Arguments to pass to the hook. + * * @return * An array of return values of the hook implementations. If modules return * arrays from their implementations, those are merged into one array. |