Feature: #89150 - Add events before and after rollback of record history entries¶
See forge#89150
Description¶
Two new events have been introduced into record history that will be dispatched before and after a revert action.
\TYPO3\
before the rollback startsCMS\ Backend\ History\ Event\ Before History Rollback Start Event \TYPO3\
after the rollback finishedCMS\ Backend\ History\ Event\ After History Rollback Finished Event
Both events resolve some information about the Record
item:
get
returns theRecord History Rollback () \TYPO3\
objectCMS\ Backend\ History\ Record History Rollback get
returns a string with the rollback fieldsRollback Fields () get
returns an array with the differencesDiff () get
returns aBackend User Authentication () \TYPO3\
object, which is used for this rollback operationCMS\ Backend\ Backend User Authentication
Additionally the \TYPO3\
gets the DataHandler input data:
get
returns an array with theData Handler Input () Data
instructions.Handler