aeo/src/ContaoManagerPlugin.php

29 lines
658 B
PHP
Raw Normal View History

2017-08-07 07:33:08 +02:00
<?php
namespace cgoIT\aeo;
2017-08-07 07:33:08 +02:00
2018-02-13 10:50:35 +01:00
use Contao\CoreBundle\ContaoCoreBundle;
2017-08-07 07:33:08 +02:00
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
/**
* Plugin for the Contao Manager.
*
2018-02-13 10:14:59 +01:00
* @author Carsten Götzinger
2017-08-07 07:33:08 +02:00
*/
2018-02-13 10:14:59 +01:00
class ContaoManagerPlugin implements BundlePluginInterface
2017-08-07 07:33:08 +02:00
{
/**
* {@inheritdoc}
*/
public function getBundles(ParserInterface $parser)
{
return [
2018-02-13 10:50:35 +01:00
BundleConfig::create(CgoITAeoBundle::class)
->setLoadAfter([ContaoCoreBundle::class])
2018-02-13 09:02:09 +01:00
->setReplace(['aeo']),
2017-08-07 07:33:08 +02:00
];
}
}