Review main Merged Breaking

75158[!!!][FEATURE] Add PSR-14 Events for flex form parsing

crell CR +2 V +2 Nightmare +2910 −2953 updated 09/08/22, 11:48

Commit message

Four new PSR-14 Events are added, which allow to fully
control the flex form parsing in an object-oriented
way. They replace the now removed
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][FlexFormTools::class]['flexParsing']
hook.

The new events work similar to the removed hooks. One
noteworthy change however is, that event propagation
of the "Before*" events is immediately stopped as soon
as a listener sets a corresponding value. Previously,
hook implementations had to always return a value,
which means they returned e.g. an empty array to allow
further hooks to be called. This however would now stop
propagation and should therefore be avoided. Listeners
which don't want to set corresponding value should just
"return" without any change to the event object.

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 38

Show 18 more files