[BUGFIX] Allow public access to DataHandler $historyRecords info 58/61858/8
authorChristoph Lehmann <post@christophlehmann.eu>
Sun, 29 Sep 2019 16:06:53 +0000 (18:06 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 7 Oct 2019 12:28:58 +0000 (14:28 +0200)
DataHandler hooks do not have an concrete view of what really changed.

Releases: master,9.5
Resolves: #89303
Change-Id: I62ceb7a3daa2a5544c5813ae11b4dad98801e35b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61858
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Steffen Frese <steffenf14@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Daniel Siepmann <daniel.siepmann@typo3.org>
Reviewed-by: Steffen Frese <steffenf14@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/DataHandling/DataHandler.php

index 102162a..10269ab 100644 (file)
@@ -8692,4 +8692,9 @@ class DataHandler implements LoggerAwareInterface
     {
         return $GLOBALS['LANG'];
     }
+
+    public function getHistoryRecords(): array
+    {
+        return $this->historyRecords;
+    }
 }