ifthenelse-8.x-1.x-dev-no-core/modules/contrib/default_content/default_content.module
modules/contrib/default_content/default_content.module
<?php
/**
* @file
* Installs default content on the behalf of modules at time of install.
*/
/**
* Implements hook_modules_installed().
*/
function default_content_modules_installed($modules) {
// @todo Move this to an event once we have HookEvent.
foreach ($modules as $module) {
if (!\Drupal::isConfigSyncing()) {
\Drupal::service('default_content.importer')->importContent($module);
}
}
}
