Skip to content
Snippets Groups Projects
Commit b51dc5c4 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2538158 by joyceg: Clarification to where hook_modules_installed should be implemented

parent cd5a8cf9
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
...@@ -125,6 +125,8 @@ function hook_module_preinstall($module) { ...@@ -125,6 +125,8 @@ function hook_module_preinstall($module) {
* \Drupal\Core\Extension\ModuleHandler::install() for a detailed description of * \Drupal\Core\Extension\ModuleHandler::install() for a detailed description of
* the order in which install hooks are invoked. * the order in which install hooks are invoked.
* *
* This hook should be implemented in a .module file, not in an .install file.
*
* @param $modules * @param $modules
* An array of the modules that were installed. * An array of the modules that were installed.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment