Review main Merged Breaking

73982[!!!][FEATURE] Add PSR-14 ModifyNewContentElementWizardItemsEvent

Oli Bartsch CR +2 V +2 Hard +698 −207 updated 03/21/22, 12:29

Commit message

This introduces a new PSR-14 event, enabling extension
authors to modify the items of the new content element
wizard component.

This replaces the previously available hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms']['db_new_content_el']['wizardItemsHook']
which is therefore now removed.

Additionally, the NewContentElementController receives
some code cleanup, e.g. removing the "params" parameter
from the wizard items' configuration, which previously
just duplicated the "tt_content_defValues" property.

Also, four public methods have been removed from
the class as they were only used for the now
removed hook and are now available in the
PSR-14 Event directly.

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 9