Issue #1760786 by sun: Follow up for moving entity system 'back' into a Drupal\Core component.

8.0.x
catch 2012-09-17 11:12:17 +01:00
parent 768dfcd9cf
commit 96ccc7288b
1 changed files with 1 additions and 1 deletions

View File

@ -475,8 +475,8 @@ function module_enable($module_list, $enable_dependencies = TRUE) {
watchdog('system', '%module module installed.', array('%module' => $module), WATCHDOG_INFO);
}
// Allow modules to react prior to the enabling of a module.
entity_info_cache_clear();
// Allow modules to react prior to the enabling of a module.
module_invoke_all('modules_preenable', array($module));
// Enable the module.