Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
c804c97c
Commit
c804c97c
authored
Jul 16, 2010
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#855386
by aspilicious: fix newlines in module.inc.
parent
b55815f6
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/module.inc
+8
-0
8 additions, 0 deletions
includes/module.inc
with
8 additions
and
0 deletions
includes/module.inc
+
8
−
0
View file @
c804c97c
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment