Register bundle and load services; enable tl_search migration

This commit is contained in:
Jürgen Mummert
2025-12-21 20:13:56 +01:00
parent 37e77f6bb1
commit d4ca5ae6de
4 changed files with 43 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace MummertMedia\ContaoMeilisearchBundle\ContaoManager;
use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
class Plugin implements BundlePluginInterface
{
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create(\MummertMedia\ContaoMeilisearchBundle\ContaoMeilisearchBundle::class)
->setLoadAfter([ContaoCoreBundle::class]),
];
}
}