Browse code

Add inserttags for opening settings

Benjamin Roth authored on12/12/2019 10:41:50
Showing1 changed files
... ...
@@ -11,4 +11,5 @@
11 11
 /**
12 12
  * Hooks.
13 13
  */
14
-$GLOBALS['TL_HOOKS']['outputFrontendTemplate'][] = ['EsalesMedia\Cookieconsent\EventListener\TemplateListener', 'onOutputFrontendTemplate'];
15 14
\ No newline at end of file
15
+$GLOBALS['TL_HOOKS']['outputFrontendTemplate'][] = array('EsalesMedia\Cookieconsent\EventListener\TemplateListener', 'onOutputFrontendTemplate');
16
+$GLOBALS['TL_HOOKS']['replaceInsertTags'][] = array('EsalesMedia\Cookieconsent\EventListener\InsertTagsListener', 'onReplaceInsertTags');
16 17
\ No newline at end of file
Browse code

Initial commit

Benjamin Roth authored on11/12/2019 13:27:07
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,14 @@
1
+<?php
2
+
3
+/*
4
+* This file is part of eSales Media cookieconsent module
5
+*
6
+* (c) Benjamin Roth
7
+*
8
+* @license https://www.gnu.org/licenses/gpl-3.0.html GPL
9
+*/
10
+
11
+/**
12
+ * Hooks.
13
+ */
14
+$GLOBALS['TL_HOOKS']['outputFrontendTemplate'][] = ['EsalesMedia\Cookieconsent\EventListener\TemplateListener', 'onOutputFrontendTemplate'];
0 15
\ No newline at end of file