... | ... |
@@ -10,8 +10,12 @@ declare(strict_types=1); |
10 | 10 |
* @license LGPL-3.0-or-later |
11 | 11 |
*/ |
12 | 12 |
|
13 |
+use vonRotenberg\ModalBundle\Model\ModalModel; |
|
13 | 14 |
|
14 | 15 |
$GLOBALS['BE_MOD']['content']['modals'] = array |
15 | 16 |
( |
16 | 17 |
'tables' => array('tl_vr_modal', 'tl_content'), |
17 | 18 |
); |
19 |
+ |
|
20 |
+ |
|
21 |
+$GLOBALS['TL_MODELS']['tl_vr_modal'] = ModalModel::class; |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,17 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+declare(strict_types=1); |
|
4 |
+ |
|
5 |
+/* |
|
6 |
+ * This file is part of modal bundle for Contao. |
|
7 |
+ * |
|
8 |
+ * (c) Benjamin Roth |
|
9 |
+ * |
|
10 |
+ * @license LGPL-3.0-or-later |
|
11 |
+ */ |
|
12 |
+ |
|
13 |
+ |
|
14 |
+$GLOBALS['BE_MOD']['content']['modals'] = array |
|
15 |
+( |
|
16 |
+ 'tables' => array('tl_vr_modal', 'tl_content'), |
|
17 |
+); |