Umstellung auf Contao 4 Bundle
This commit is contained in:
28
src/ContaoManagerPlugin.php
Normal file
28
src/ContaoManagerPlugin.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace cgoIT\rateit;
|
||||
|
||||
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(CgoITRateItBundle::class)
|
||||
->setLoadAfter([ContaoCoreBundle::class])
|
||||
->setReplace(['rate-it']),
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user