Umstellung auf Contao 4 Bundle

This commit is contained in:
2018-02-14 08:31:13 +01:00
parent 0129999dd0
commit f6e5678ed3
13 changed files with 64 additions and 53 deletions

View File

@ -0,0 +1,28 @@
<?php
namespace cgoIT\xlsexport;
use Contao\CoreBundle\ContaoCoreBundle;
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(CgoITXlsexportBundle::class)
->setLoadAfter([ContaoCoreBundle::class])
->setReplace(['xls_export']),
];
}
}