2017-08-07 07:33:08 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace cgoIT\aeo\ContaoManager;
|
|
|
|
|
|
|
|
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:14:59 +01:00
|
|
|
BundleConfig::create('CgoITAeoBundle::class')
|
2017-08-07 07:33:08 +02:00
|
|
|
->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle'])
|
|
|
|
->setLoadAfter(['*'])
|
2018-02-13 09:02:09 +01:00
|
|
|
->setReplace(['aeo']),
|
2017-08-07 07:33:08 +02:00
|
|
|
];
|
|
|
|
}
|
|
|
|
}
|