Skip to content

Commit

Permalink
optimized contao manager support
Browse files Browse the repository at this point in the history
  • Loading branch information
iCodr8 committed Jan 29, 2018
1 parent 2d8b897 commit 2bcd524
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
<?php

declare(strict_types=1);

namespace Craffft\SingleSessionStorageBundle\ContaoManager;

use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Craffft\SingleSessionStorageBundle\CraffftSingleSessionStorageBundle;

class Plugin
{
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create(CraffftSingleSessionStorageBundle::class)
->setLoadAfter([ContaoCoreBundle::class])
->setReplace(['translation-fields']),
];
}
}

0 comments on commit 2bcd524

Please sign in to comment.