From f3ec5a1a08204fffdc82a8f242b73799f4a8b4b3 Mon Sep 17 00:00:00 2001 From: bauer00 <3669176+bauer00@users.noreply.github.com> Date: Fri, 2 Mar 2018 23:30:16 +0100 Subject: [PATCH] Load after CalendarBundle instead of CoreBundle This extension extends the CalendarBundle functionality, so it has to be loaded after the CalendarBundle. I've had a problem where the DCA changes hadn't any effect, because the DCA of the CalendarBundle wasn't loaded. (Contao 4.4.14) --- src/ContaoManager/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ContaoManager/Plugin.php b/src/ContaoManager/Plugin.php index f7dccbf..ae38caf 100644 --- a/src/ContaoManager/Plugin.php +++ b/src/ContaoManager/Plugin.php @@ -15,7 +15,7 @@ public function getBundles(ParserInterface $parser) { return [ BundleConfig::create('Craffft\ContaoCalendarICalBundle\CraffftContaoCalendarICalBundle') - ->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle']) + ->setLoadAfter(['Contao\CalendarBundle\ContaoCalendarBundle']) ->setReplace(['contao-calendar-ical-bundle']), ]; }