Expose Mummert manager-plugin compatibility
This commit is contained in:
+3
-2
@@ -17,11 +17,12 @@
|
|||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"MummertMedia\\EventManagerBundle\\": "src/"
|
"MummertMedia\\EventManagerBundle\\": "src/",
|
||||||
|
"Mummert\\EventManagerBundle\\": "src/Compat/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"contao-manager-plugin": "MummertMedia\\EventManagerBundle\\Contao\\Manager\\Plugin"
|
"contao-manager-plugin": "Mummert\\EventManagerBundle\\Contao\\Manager\\Plugin"
|
||||||
},
|
},
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"config": {
|
"config": {
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mummert\EventManagerBundle\Contao\Manager;
|
||||||
|
|
||||||
|
use Contao\CalendarBundle\ContaoCalendarBundle;
|
||||||
|
use Contao\CoreBundle\ContaoCoreBundle;
|
||||||
|
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
|
||||||
|
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
|
||||||
|
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
|
||||||
|
use Mummert\EventManagerBundle\EventManagerBundle;
|
||||||
|
|
||||||
|
class Plugin implements BundlePluginInterface
|
||||||
|
{
|
||||||
|
public function getBundles(ParserInterface $parser): iterable
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
BundleConfig::create(EventManagerBundle::class)
|
||||||
|
->setLoadAfter([ContaoCoreBundle::class, ContaoCalendarBundle::class]),
|
||||||
|
];
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace Mummert\EventManagerBundle;
|
||||||
|
|
||||||
|
use MummertMedia\EventManagerBundle\MummertMediaEventManagerBundle;
|
||||||
|
|
||||||
|
class EventManagerBundle extends MummertMediaEventManagerBundle
|
||||||
|
{
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user