fixed bundle

This commit is contained in:
Carsten Götzinger 2018-02-13 10:50:35 +01:00
parent 8797ca30e7
commit 2f50351f5f
2 changed files with 13 additions and 3 deletions

View File

@ -31,7 +31,16 @@
"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-manager-plugin": "cgoIT\\aeo\\ContaoManagerPlugin"

View File

@ -2,6 +2,7 @@
namespace cgoIT\aeo;
use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
@ -19,8 +20,8 @@ class ContaoManagerPlugin implements BundlePluginInterface
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create('CgoITAeoBundle::class')
->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle'])
BundleConfig::create(CgoITAeoBundle::class)
->setLoadAfter([ContaoCoreBundle::class])
->setLoadAfter(['*'])
->setReplace(['aeo']),
];