Review main Merged

70870[FEATURE] Introduce ModifyClearCacheActionsEvent

Oli Bartsch CR +2 V +2 Normal +180 −0 updated 09/03/21, 14:03

Commit message

A new PSR-14 based event "ModifyClearCacheActionsEvent"
is introduced in favour of the existing
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['additionalBackendItems']['cacheActions']
hook, which is now marked as deprecated, along with
its interface "ClearCacheActionsHookInterface".

The new event features the same functionality as
the hook. Additionally a new convenience method
`add` is available for the class properties, allowing
extension authors to add their custom actions more
easily. This might be the most common use case for
using this event.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 7