Review main Merged

74499[FEATURE] Replace hooks with events for Preview URI generation

Benni Mack CR +2 V +2 Hard +639 −126 updated 05/04/22, 17:18

Commit message

The BackendUtility method "getPreviewUrl" along with
its hooks and the helper method "ADMCMD_previewCmds"
has been marked as deprecated in favor of having
everything in PreviewUriBuilder.

This class now contains two new Events for manipulating
the generated preview URI.

In addition, the unused "viewUrl" property of
EditDocumentController is removed.

The language parameter is now additionally
encapsulated in a separate property.

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 2

Files 23

Show 3 more files