Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • ..
  • Php
  • ClassNameMatcher.php
Find file BlameHistoryPermalink
  • Oliver Bartsch's avatar
    [FEATURE] Introduce ModifyClearCacheActionsEvent · 86834cb1
    Oliver Bartsch authored Sep 02, 2021 and Benni Mack's avatar Benni Mack committed Sep 03, 2021
    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.
    
    Resolves: #95083
    Releases: master
    Change-Id: I1e621a00b04cdf43978a6e982b66c397e9437a29
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70870
    
    Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
    Tested-by: Jochen's avatarJochen <rothjochen@gmail.com>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
    Reviewed-by: Jochen's avatarJochen <rothjochen@gmail.com>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    86834cb1