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 merge requests found
......@@ -125,6 +125,8 @@ function hook_module_preinstall($module) {
* \Drupal\Core\Extension\ModuleHandler::install() for a detailed description of
* the order in which install hooks are invoked.
*
* This hook should be implemented in a .module file, not in an .install file.
*
* @param $modules
* An array of the modules that were installed.
*
......
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