Commit 3428da0e authored by larowlan's avatar larowlan

Merge pull request #17 from dawehner/sync-issues

disable import of content during config sync
parents 394f85b3 d6f61ee1
......@@ -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