From 047b4891e79b492ffc8441e51e42fd0dac4bfb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Auswo=CC=88ger?= Date: Thu, 1 Oct 2020 09:23:29 +0200 Subject: [PATCH] Fix bundle loading order --- src/ContaoManagerPlugin.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ContaoManagerPlugin.php b/src/ContaoManagerPlugin.php index 52458cc..005005e 100644 --- a/src/ContaoManagerPlugin.php +++ b/src/ContaoManagerPlugin.php @@ -18,9 +18,11 @@ public function getBundles(ParserInterface $parser) { return [ BundleConfig::create(RockSolidSliderBundle::class) - ->setLoadAfter([ContaoCoreBundle::class]) - ->setLoadAfter([ContaoNewsBundle::class]) - ->setLoadAfter([ContaoCalendarBundle::class]) + ->setLoadAfter([ + ContaoCoreBundle::class, + ContaoNewsBundle::class, + ContaoCalendarBundle::class, + ]) ->setReplace(['rocksolid-slider']), ]; }