... | ... |
@@ -8,6 +8,17 @@ use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; |
8 | 8 |
use Contao\ManagerPlugin\Dependency\DependentPluginInterface; |
9 | 9 |
use eSalesMedia\eSalesLayoutKit\eSalesLayoutKitBundle; |
10 | 10 |
|
11 |
-class Plugin |
|
11 |
+class Plugin implements BundlePluginInterface |
|
12 | 12 |
{ |
13 |
+ public function getBundles(ParserInterface $parser) |
|
14 |
+ { |
|
15 |
+ return [ |
|
16 |
+ BundleConfig::create(eSalesLayoutKitBundle::class) |
|
17 |
+ ->setLoadAfter( |
|
18 |
+ [ |
|
19 |
+ \Contao\CoreBundle\ContaoCoreBundle::class |
|
20 |
+ ] |
|
21 |
+ ) |
|
22 |
+ ]; |
|
23 |
+ } |
|
13 | 24 |
} |
14 | 25 |
\ No newline at end of file |
... | ... |
@@ -1,6 +1,12 @@ |
1 | 1 |
<?php |
2 | 2 |
|
3 |
-namespace eSalesMedia\eSalesLayoutKitBundle\ContaoManager; |
|
3 |
+namespace eSalesMedia\eSalesLayoutKit\ContaoManager; |
|
4 |
+ |
|
5 |
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface; |
|
6 |
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig; |
|
7 |
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; |
|
8 |
+use Contao\ManagerPlugin\Dependency\DependentPluginInterface; |
|
9 |
+use eSalesMedia\eSalesLayoutKit\eSalesLayoutKitBundle; |
|
4 | 10 |
|
5 | 11 |
class Plugin |
6 | 12 |
{ |