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

8.0.x
Alex Pott 2015-07-28 18:47:10 +01:00
parent cd5a8cf903
commit b51dc5c423
1 changed files with 2 additions and 0 deletions

View File

@ -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.
*