#111432Introduce RecordTypeResolver and deprecate BackendUtility::getTCAtypeValue()
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
-
Gerrit Code Review pushed patch set 1 for main to change 97603 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-13T10:09:41+00:00" > 11/13/26, 10:09 </span>