Commit 48ea1258 authored by larowlan's avatar larowlan

Merge pull request #32 from md-systems/remove-router-rebuild

Remove unnecessary router rebuild.
parents 126d40cf f798bbcc
......@@ -10,7 +10,6 @@
*/
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