29 lines
677 B
PHP
29 lines
677 B
PHP
|
<?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']),
|
||
|
];
|
||
|
}
|
||
|
}
|