Fixed bundle

This commit is contained in:
2018-02-13 10:14:59 +01:00
parent 265f39b349
commit e2c08f327e
6 changed files with 70 additions and 84 deletions

View File

@ -0,0 +1,28 @@
<?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.
*
* @author Carsten Götzinger
*/
class ContaoManagerPlugin implements BundlePluginInterface
{
/**
* {@inheritdoc}
*/
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create('CgoITAeoBundle::class')
->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle'])
->setLoadAfter(['*'])
->setReplace(['aeo']),
];
}
}