feat: add Contao 5.7 pinboard bundle
This commit is contained in:
22
src/ContaoManager/Plugin.php
Normal file
22
src/ContaoManager/Plugin.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Eiswurm\ContaoPinboardBundle\ContaoManager;
|
||||
|
||||
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
|
||||
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
|
||||
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
|
||||
use Contao\CoreBundle\ContaoCoreBundle;
|
||||
use Eiswurm\ContaoPinboardBundle\ContaoPinboardBundle;
|
||||
|
||||
final class Plugin implements BundlePluginInterface
|
||||
{
|
||||
public function getBundles(ParserInterface $parser): array
|
||||
{
|
||||
return [
|
||||
BundleConfig::create(ContaoPinboardBundle::class)
|
||||
->setLoadAfter([ContaoCoreBundle::class]),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user