Skip to content

Commit

Permalink
Update load configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Feb 19, 2025
1 parent 7f3c78c commit ac911ff
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@

namespace ContaoThemeManager\Core\ContaoManager;

use Contao\CalendarBundle\ContaoCalendarBundle;
use Contao\CommentsBundle\ContaoCommentsBundle;
use Contao\CoreBundle\ContaoCoreBundle;
use Contao\FaqBundle\ContaoFaqBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Contao\ManagerPlugin\Config\ConfigPluginInterface;
use Contao\NewsBundle\ContaoNewsBundle;
use ContaoThemeManager\Core\ContaoThemeManagerCore;
use Exception;
use Oveleon\ContaoComponentStyleManager\ContaoComponentStyleManager;
Expand All @@ -30,7 +34,14 @@ public function getBundles(ParserInterface $parser): array
{
return [
BundleConfig::create(ContaoThemeManagerCore::class)
->setLoadAfter([ContaoCoreBundle::class, ContaoComponentStyleManager::class, ContaoThemeCompilerBundle::class])
->setLoadAfter([
ContaoCoreBundle::class,
ContaoCalendarBundle::class,
ContaoFaqBundle::class,
ContaoNewsBundle::class,
ContaoComponentStyleManager::class,
ContaoThemeCompilerBundle::class,
])
->setReplace(['contao-thememanager']),
];
}
Expand Down

0 comments on commit ac911ff

Please sign in to comment.