FlexFormSchemaFactory
Read onlyYes
FinalYes
Parses all possibles schemas of all sheets of a field.
This is an experimental implementation and might change until TYPO3 v13 LTS
Attributes
- #[Autoconfigure]
- $public: true
- $shared: true
Table of Contents
Properties
Methods
- __construct() : mixed
- getSchemaForRecord() : FlexFormSchema|null
- Currently this mixes Schema and Record Information, and could be handled in a cleaner way, especially with the list_type resolving. This method signature will most likely change.
Properties
$fieldTypeFactory
protected
FieldTypeFactory
$fieldTypeFactory
$flexFormTools
protected
FlexFormTools
$flexFormTools
Methods
__construct()
public
__construct(FlexFormTools $flexFormTools, FieldTypeFactory $fieldTypeFactory) : mixed
Parameters
- $flexFormTools : FlexFormTools
- $fieldTypeFactory : FieldTypeFactory
getSchemaForRecord()
Currently this mixes Schema and Record Information, and could be handled in a cleaner way, especially with the list_type resolving. This method signature will most likely change.
public
getSchemaForRecord(RawRecord $record, FlexFormFieldType $field, RelationMap $relationMap) : FlexFormSchema|null
Parameters
- $record : RawRecord
- $field : FlexFormFieldType
- $relationMap : RelationMap