Skip to content
Snippets Groups Projects
Commit 3428da0e authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Merge pull request #17 from dawehner/sync-issues

disable import of content during config sync
parents 394f85b3 d6f61ee1
Branches
Tags
No related merge requests found
......@@ -11,6 +11,8 @@
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.manager')->importContent($module);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment