Browse code

Initial commit

Benjamin Roth authored on01/06/2023 13:12:27
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,33 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
+
5
+/*
6
+ * This file is part of dacore bundle for Contao.
7
+ *
8
+ * (c) Benjamin Roth
9
+ *
10
+ * @license commercial
11
+ */
12
+
13
+namespace vossmedien\DacoreBundle\ContaoManager;
14
+
15
+use Contao\CoreBundle\ContaoCoreBundle;
16
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
17
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
18
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
19
+use vossmedien\DacoreBundle\VossmedienDacoreBundle;
20
+
21
+class Plugin implements BundlePluginInterface
22
+{
23
+    /**
24
+     * {@inheritdoc}
25
+     */
26
+    public function getBundles(ParserInterface $parser): array
27
+    {
28
+        return [
29
+            BundleConfig::create(VossmedienDacoreBundle::class)
30
+                ->setLoadAfter([ContaoCoreBundle::class]),
31
+        ];
32
+    }
33
+}