[BUGFIX] Add getter for tsfe->pageCacheTags 22/59022/3
authorDaniel Goerz <daniel.goerz@posteo.de>
Tue, 4 Dec 2018 07:53:11 +0000 (08:53 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 4 Dec 2018 13:40:47 +0000 (14:40 +0100)
Resolves: #87066
Releases: master, 8.7
Change-Id: I9ed1d82d03f3518018699402d5b3a93930e49457
Reviewed-on: https://review.typo3.org/59022
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php

index 80f4994..d19ace3 100644 (file)
@@ -3466,6 +3466,14 @@ class TypoScriptFrontendController implements LoggerAwareInterface
         $this->pageCacheTags = array_merge($this->pageCacheTags, $tags);
     }
 
+    /**
+     * @return array
+     */
+    public function getPageCacheTags(): array
+    {
+        return $this->pageCacheTags;
+    }
+
     /********************************************
      *
      * Page generation; rendering and inclusion
@@ -5141,6 +5149,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface
             case 'no_cacheBeforePageGen':
             case 'tempContent':
             case 'pagesTSconfig':
+            case 'pageCacheTags':
             case 'uniqueCounter':
             case 'uniqueString':
             case 'lang':
@@ -5210,6 +5219,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface
             case 'no_cacheBeforePageGen':
             case 'tempContent':
             case 'pagesTSconfig':
+            case 'pageCacheTags':
             case 'uniqueCounter':
             case 'uniqueString':
             case 'lang':
@@ -5352,6 +5362,7 @@ class TypoScriptFrontendController implements LoggerAwareInterface
             case 'no_cacheBeforePageGen':
             case 'tempContent':
             case 'pagesTSconfig':
+            case 'pageCacheTags':
             case 'uniqueCounter':
             case 'uniqueString':
             case 'lang':