Skip to content
Snippets Groups Projects
Commit f8b56341 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #600780 by asimmonds: fixed typo in documentation.

parent 1878abad
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -240,7 +240,7 @@ function module_enable($module_list, $disable_modules_installed_hook = FALSE) {
}
if (!empty($invoke_modules)) {
// Invoke the hook_module_enable after all the modules have been
// Invoke hook_modules_enabled after all the modules have been
// enabled.
module_invoke_all('modules_enabled', $invoke_modules);
}
......@@ -277,7 +277,7 @@ function module_disable($module_list) {
// Refresh the module list to exclude the disabled modules.
module_list(TRUE);
module_implements('', FALSE, TRUE);
// Invoke hook_module_disable before disabling modules,
// Invoke hook_modules_disabled before disabling modules,
// so we can still call module hooks to get information.
module_invoke_all('modules_disabled', $invoke_modules);
// Force to regenerate the stored list of hook implementations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment