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