Review 13.4 Merged

89839[BUGFIX] Respect TSconfig disableButtonForDokType everywhere

Oli Bartsch CR +2 V +2 Normal +108 −123 updated 06/24/25, 10:58

Commit message

This change is the first in a series of patches to
streamline preview link generation.

This first patch puts the logic what kind of page preview links
can be generated into one spot: The PreviewUriBuilder.

Thus, the TSconfig option TCEMAIN.preview.disableButtonForDokType
is always respected, and this means that the icon is now
removed in Page module for sysfolders etc.

The PreviewUriBuilder can now receive a array instead
of just the Page ID, reducing the calling code logic
drastically.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 23

Show 3 more files

Review log 34

  1. Oli Bartsch uploaded patch set 1 06/24/25, 10:44

  2. core-ci voted on patch set 1 V +1 06/24/25, 10:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/80720

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 06/24/25, 10:58

  4. Oli Bartsch merged patch set 2 06/24/25, 10:58