Skip to content
Snippets Groups Projects
Commit c78469c0 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[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: default avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 74ee68f1
Showing
with 791 additions and 16 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment