Commit c804c97c authored by Dries's avatar Dries
Browse files

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

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