1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,39 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+/* |
|
4 |
+ * This file is part of eSales Media ContentHelperBundle |
|
5 |
+ * |
|
6 |
+ * (c) John Doe |
|
7 |
+ * |
|
8 |
+ * @license LGPL-3.0-or-later |
|
9 |
+ */ |
|
10 |
+ |
|
11 |
+namespace EsalesMedia\ContentHelperBundle\ContaoManager; |
|
12 |
+ |
|
13 |
+use EsalesMedia\ContentHelperBundle\EsalesMediaContentHelperBundle; |
|
14 |
+use Contao\CoreBundle\ContaoCoreBundle; |
|
15 |
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface; |
|
16 |
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig; |
|
17 |
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface; |
|
18 |
+use MadeYourDay\RockSolidColumns\RockSolidColumnsBundle; |
|
19 |
+ |
|
20 |
+class Plugin implements BundlePluginInterface |
|
21 |
+{ |
|
22 |
+ /** |
|
23 |
+ * {@inheritdoc} |
|
24 |
+ */ |
|
25 |
+ public function getBundles(ParserInterface $parser) |
|
26 |
+ { |
|
27 |
+ $arrLoadAfter = [ContaoCoreBundle::class]; |
|
28 |
+ |
|
29 |
+ if (RockSolidColumnsBundle::class) |
|
30 |
+ { |
|
31 |
+ $arrLoadAfter[] = RockSolidColumnsBundle::class; |
|
32 |
+ } |
|
33 |
+ |
|
34 |
+ return [ |
|
35 |
+ BundleConfig::create(EsalesMediaContentHelperBundle::class) |
|
36 |
+ ->setLoadAfter($arrLoadAfter) |
|
37 |
+ ]; |
|
38 |
+ } |
|
39 |
+} |