[FEATURE] Introduce PSR-14 events for DatabaseRecordList
Three new PSR-14 based events are introduced in favour of the existing $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list_extra.inc']['actions'] hook, which is now marked as deprecated, along with its interface "RecordListHookInterface". Besides the obvious advantage of using PSR-14 events, the RecordListHookInterface also required to always implement all hook methods, even if only one of them was really used. The new events feature the same functionality, but improved and extended. The main subject, e.g. the record actions or the table header columns, is therefore equipped with extended CRUD methods, like adding a new action at a certain position. Resolves: #95105 Releases: master Change-Id: If3194474eca7c111be4d113fda04992c5bf5f16c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70887 Tested-by:Benjamin Franzke <bfr@qbus.de> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Configuration/Services.yaml 4 additions, 0 deletionstypo3/sysext/backend/Configuration/Services.yaml
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-95105-DatabaseRecordListHooks.rst 47 additions, 0 deletions...elog/master/Deprecation-95105-DatabaseRecordListHooks.rst
- typo3/sysext/core/Documentation/Changelog/master/Feature-95105-NewPSR-14DatabaseRecordListEvents.rst 129 additions, 0 deletions...aster/Feature-95105-NewPSR-14DatabaseRecordListEvents.rst
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php 5 additions, 0 deletions...figuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php 5 additions, 0 deletions...l/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
- typo3/sysext/recordlist/Classes/Event/ModifyRecordListHeaderColumnsEvent.php 153 additions, 0 deletions...list/Classes/Event/ModifyRecordListHeaderColumnsEvent.php
- typo3/sysext/recordlist/Classes/Event/ModifyRecordListRecordActionsEvent.php 190 additions, 0 deletions...list/Classes/Event/ModifyRecordListRecordActionsEvent.php
- typo3/sysext/recordlist/Classes/Event/ModifyRecordListTableActionsEvent.php 170 additions, 0 deletions...dlist/Classes/Event/ModifyRecordListTableActionsEvent.php
- typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 76 additions, 13 deletions...sext/recordlist/Classes/RecordList/DatabaseRecordList.php
- typo3/sysext/recordlist/Classes/RecordList/RecordListHookInterface.php 5 additions, 0 deletions...recordlist/Classes/RecordList/RecordListHookInterface.php
- typo3/sysext/recordlist/Configuration/Services.yaml 4 additions, 0 deletionstypo3/sysext/recordlist/Configuration/Services.yaml
- typo3/sysext/recordlist/Tests/Functional/RecordList/DownloadRecordListTest.php 3 additions, 3 deletions...st/Tests/Functional/RecordList/DownloadRecordListTest.php
Please register or sign in to comment