Commit c804c97c authored by Dries's avatar Dries

- Patch #855386 by aspilicious: fix newlines in module.inc.

parent b55815f6
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment