Browse code

Initial

Hagen Klemp authored on03/02/2019 23:08:50
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,37 @@
1
+<?php
2
+
3
+/**
4
+ * Extension for Contao 4
5
+ *
6
+ * @copyright  Softleister 2019
7
+ * @author     Softleister <info@softleister.de>
8
+ * @package    contao-signature-formfield-bundle
9
+ *             based on jSignature (https://github.com/brinley/jSignature)
10
+ * @licence    MIT License
11
+ */
12
+
13
+namespace Softleister\SignatureformfieldBundle\ContaoManager;
14
+
15
+use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
16
+use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
17
+use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
18
+
19
+
20
+/**
21
+ * Plugin for the Contao Manager.
22
+ *
23
+ * @author Softleister
24
+ */
25
+class Plugin implements BundlePluginInterface
26
+{
27
+    /**
28
+     * {@inheritdoc}
29
+     */
30
+    public function getBundles( ParserInterface $parser )
31
+    {
32
+        return [
33
+            BundleConfig::create( 'Softleister\SignatureformfieldBundle\SoftleisterSignatureformfieldBundle' )
34
+                ->setLoadAfter( ['Contao\CoreBundle\ContaoCoreBundle'] ),
35
+        ];
36
+    }
37
+}