Skip to content

Commit

Permalink
Load after CalendarBundle instead of CoreBundle
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
bauer00 authored Mar 2, 2018
1 parent 505fb8d commit f3ec5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
];
}
Expand Down

0 comments on commit f3ec5a1

Please sign in to comment.