Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
  • typo3
  • typo3
  • sysext
  • backend
  • Classes
  • Toolbar
  • ClearCacheActionsHookInterface.php
Find file Blame History Permalink
  • obartsch's avatar
    [FEATURE] Introduce ModifyClearCacheActionsEvent · 86834cb1
    obartsch 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: default avatarcore-ci <typo3@b13.com>
    Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
    Tested-by: default avatarJochen <rothjochen@gmail.com>
    Tested-by: default avatarBenni Mack <benni@typo3.org>
    Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
    Reviewed-by: default avatarJochen <rothjochen@gmail.com>
    Reviewed-by: default avatarBenni Mack <benni@typo3.org>
    86834cb1