Issue Task Under Review

#111432Introduce RecordTypeResolver and deprecate BackendUtility::getTCAtypeValue()

Benni Mack 11/13/26, 09:45 updated 11/13/26, 10:09

Description

The record type of a TCA record is determined in several places with slightly different rules: BackendUtility::getTCAtypeValue(), the RecordFactory and FormEngine’s DatabaseRecordTypeValue. The DataHandler in EXT:core relies on BackendUtility::getTCAtypeValue() of EXT:backend.

A new core service RecordTypeResolver resolves the record type of a database row, including types defined by a field of a related record (“file:type”) and its workspace version. It is used by the RecordFactory, the DataHandler and the backend, and BackendUtility::getTCAtypeValue() is deprecated.

Related: #111430

Reviews 1

History 01