Review main Merged

70887[FEATURE] Introduce PSR-14 events for DatabaseRecordList

Oli Bartsch CR +2 V +2 Hard +791 −16 updated 09/04/21, 07:12

Commit message

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.

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 12