Commit d6f61ee1 authored by dawehner's avatar dawehner

disable import of content during config sync

parent 394f85b3
......@@ -11,6 +11,8 @@
function default_content_modules_installed($modules) {
// @todo Move this to an event once we have HookEvent.
foreach ($modules as $module) {
\Drupal::service('default_content.manager')->importContent($module);
if (!\Drupal::isConfigSyncing()) {
\Drupal::service('default_content.manager')->importContent($module);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment