Review main Merged

92681[FEATURE] Provide page record object in page information

Oli Bartsch CR +2 V +2 Normal +113 −5 updated 11/04/26, 14:10

Commit message

PageInformation, available as request attribute
"frontend.page.information", now offers getRecord(). It returns
the current page as resolved record object, created by the Record
API from the same row getPageRecord() returns, so its relations
are resolved according to TCA.

The record is created by PageInformationFactory once page and
language are resolved, so it reflects the final row of the request,
including language overlay, shortcut and mount point resolution.
Relations are resolved lazily on first access.

PAGEVIEW templates can use {page.record.title} or iterate over
{page.record.media}. The f:render.text ViewHelper uses the new
method instead of creating the record itself.

getPageRecord() is kept unchanged: ContentObjectRenderer::start()
and several other APIs still need the page row as array.

Review

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

Issues 1

Files 9

Review log 812

  1. Oli Bartsch uploaded patch set 1 02/05/26, 11:24

  2. core-ci voted on patch set 1 V -1 02/05/26, 11:42 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95135

  3. Simon Schaufelberger uploaded patch set 2 V -1 02/14/26, 14:58

  4. core-ci voted on patch set 2 V -1 02/14/26, 15:13 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/95905

  5. Oli Bartsch uploaded patch set 3 V -1 10/30/26, 18:18

  6. core-ci voted on patch set 3 V +1 10/30/26, 18:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112899

  7. Benni Mack uploaded patch set 4 V +1 10/30/26, 21:28

  8. core-ci voted on patch set 4 V +1 10/30/26, 21:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112916

  9. Georg Ringer voted on patch set 4 CR +1 V +1 10/31/26, 12:30

  10. Matthias Vogel voted on patch set 4 CR +1 V +1 11/04/26, 14:09

  11. Oli Bartsch voted on patch set 4 CR +2 V +2 11/04/26, 14:10

  12. Oli Bartsch merged patch set 5 11/04/26, 14:10