<?php declare(strict_types=1); /* * This file is part of newsmailer bundle for Contao. * * (c) Benjamin Roth * * @license LGPL-3.0-or-later */ namespace vonRotenberg\NewsmailerBundle\ContaoManager; use Contao\CoreBundle\ContaoCoreBundle; use Contao\NewsBundle\ContaoNewsBundle; use Contao\ManagerPlugin\Bundle\BundlePluginInterface; use Contao\ManagerPlugin\Bundle\Config\BundleConfig; use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; use vonRotenberg\NewsmailerBundle\VonrotenbergNewsmailerBundle; class Plugin implements BundlePluginInterface { public function getBundles(ParserInterface $parser): array { return [ BundleConfig::create(VonrotenbergNewsmailerBundle::class) ->setLoadAfter([ ContaoCoreBundle::class, ContaoNewsBundle::class ]), ]; } }