fixed bundle
This commit is contained in:
parent
8797ca30e7
commit
2f50351f5f
@ -31,7 +31,16 @@
|
|||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"cgoIT\\aeo\\": "src/"
|
"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": {
|
"extra": {
|
||||||
"contao-manager-plugin": "cgoIT\\aeo\\ContaoManagerPlugin"
|
"contao-manager-plugin": "cgoIT\\aeo\\ContaoManagerPlugin"
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace cgoIT\aeo;
|
namespace cgoIT\aeo;
|
||||||
|
|
||||||
|
use Contao\CoreBundle\ContaoCoreBundle;
|
||||||
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
|
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
|
||||||
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
|
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
|
||||||
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
|
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
|
||||||
@ -19,8 +20,8 @@ class ContaoManagerPlugin implements BundlePluginInterface
|
|||||||
public function getBundles(ParserInterface $parser)
|
public function getBundles(ParserInterface $parser)
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
BundleConfig::create('CgoITAeoBundle::class')
|
BundleConfig::create(CgoITAeoBundle::class)
|
||||||
->setLoadAfter(['Contao\CoreBundle\ContaoCoreBundle'])
|
->setLoadAfter([ContaoCoreBundle::class])
|
||||||
->setLoadAfter(['*'])
|
->setLoadAfter(['*'])
|
||||||
->setReplace(['aeo']),
|
->setReplace(['aeo']),
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user