Review 9.5 Merged

60628[FEATURE] Add custom generator options via hook

Susi Moog CR +2 V +2 Normal +103 −0 updated 04/29/19, 20:57

Commit message

In order to allow custom functionality like "Skip pages of type XYZ", a new
hook is added to the SlugHelper which can be added via

$GLOBALS['TCA']['pages']['columns']['slug']['config']['generatorOptions']['postModifiers']

The userFunc needs to return the new / modified $slug which is then put through the
sanitize() method.

TYPO3 Core does not provide custom functionality so this hook allows
to build everything a custom installation or extension wants to hook in.

Review

  • Code review CR +2 Done
    • Susi Moog +2
  • Verified V +2 Done
    • Susi Moog +2
    • TYPO3com +1 CI

Issues 1

Files 3

Review log 34

  1. Susi Moog commented on patch set 1 04/29/19, 20:41

    Cherry Picked from branch master.
  2. TYPO3com voted on patch set 1 V +1 04/29/19, 20:56 Completed build in 15m 21s on Mon, 29 Apr, 10:56 PM Test Summary: 50112 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC95-623

  3. Susi Moog commented on patch set 1 V +2 CR +2 04/29/19, 20:57

    Straight backport, straight merge.
  4. Susi Moog merged patch set 2 04/29/19, 20:57