#69721Inline BackendUtility::getRecordTitle as data provider
Description
BackendUtility::getRecordTitle() is used within FormEngine at various places. It does tons of different data fetching operations and is in general a rather huge headache.
Get rid of this in FormEngine scope:
- Add a “recordTitle” field to the data array in FormDataCompiler that can be used by render part.
- Extend removeObsoleteColumns() in TcaTypesShowItem method to not remove fields that are used in one of the title ctrl fields mentioned in getRecordTitle. Maybe extract this method to an own provider that is executed right after TcaTypesShowItem provider. This has the effect, that the following field specific providers like TcaSelect and friends will calculated items and values for fields that are used within title, but that are now within showitem, too.
- Add a provider that is executed after the Tca* providers that fills the “recordTitle” field of the data array.