Fixed bundle

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

View File

@ -31,23 +31,9 @@
"autoload": {
"psr-4": {
"cgoIT\\aeo\\": "src/"
},
"classmap": [
"src/Resources/contao/"
],
"exclude-from-classmap": [
"src/Resources/contao/config/",
"src/Resources/contao/dca/",
"src/Resources/contao/languages/",
"src/Resources/contao/templates/"
]
},
}
},
"extra": {
"contao": {
"sources": {
"": "system/modules/zaeo"
},
},
"contao-manager-plugin": "cgoIT\\aeo\\ContaoManager\\Plugin"
"contao-manager-plugin": "cgoIT\\aeo\\ContaoManagerPlugin"
}
}

View File

@ -7,7 +7,7 @@ use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Configures the Contao aeo bundle.
*
* @author Carsten Götzinger
* @author Carsten Götzinger
*/
class CgoITAeoBundle extends Bundle
{

View File

@ -9,9 +9,9 @@ use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
/**
* Plugin for the Contao Manager.
*
* @author Carsten Götzinger
* @author Carsten Götzinger
*/
class Plugin implements BundlePluginInterface
class ContaoManagerPlugin implements BundlePluginInterface
{
/**
* {@inheritdoc}
@ -19,7 +19,7 @@ class Plugin implements BundlePluginInterface
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create('cgoIT\aeo\CgoITAeoBundle')
BundleConfig::create('CgoITAeoBundle::class')
->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle'])
->setLoadAfter(['*'])
->setReplace(['aeo']),