Commit 698ac6c3 authored by dawehner's avatar dawehner

fix test failure

parent d0e19cff
......@@ -10,6 +10,7 @@
*/
function default_content_modules_installed($modules) {
// @todo Move this to an event once we have HookEvent.
\Drupal::service('router.builder')->rebuild();
foreach ($modules as $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