Browse code

Enable autowiring and annotation support

Benjamin Roth authored on12/01/2023 14:37:47
Showing1 changed files
... ...
@@ -1,7 +1,10 @@
1 1
 services:
2 2
     _defaults:
3
+        autowire: true
3 4
         autoconfigure: true
5
+        public: false
4 6
 
5
-    vonRotenberg\ModalBundle\Controller\FrontendModule\ModalModuleController: ~
7
+    vonRotenberg\ModalBundle\:
8
+        resource: ../src
9
+        exclude: ../src/{VonrotenbergModalBundle.php,ContaoManager,Entity,Migrations,Model,Resources,Tests,Widget}
6 10
 
7
-    vonRotenberg\ModalBundle\Controller\ContentElement\ModalElementController: ~
Browse code

Finalize module and also provide content element

Benjamin Roth authored on10/01/2023 21:52:20
Showing1 changed files
... ...
@@ -3,3 +3,5 @@ services:
3 3
         autoconfigure: true
4 4
 
5 5
     vonRotenberg\ModalBundle\Controller\FrontendModule\ModalModuleController: ~
6
+
7
+    vonRotenberg\ModalBundle\Controller\ContentElement\ModalElementController: ~
Browse code

Add services entry for fragment controller

Benjamin Roth authored on10/01/2023 14:29:18
Showing1 changed files
... ...
@@ -1,3 +1,5 @@
1 1
 services:
2 2
     _defaults:
3 3
         autoconfigure: true
4
+
5
+    vonRotenberg\ModalBundle\Controller\FrontendModule\ModalModuleController: ~
Browse code

Change directory structure of bundle and add first draft of fragment controller module

Benjamin Roth authored on10/01/2023 14:11:33
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+services:
2
+    _defaults:
3
+        autoconfigure: true