RecordTypeLabelResolver
Read onlyYes
FinalYes
Resolves a human-readable type label for a record.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- resolve() : string
Methods
__construct()
public
__construct(TcaSchemaFactory $tcaSchemaFactory, SchemaLabelResolver $schemaLabelResolver) : mixed
Parameters
- $tcaSchemaFactory : TcaSchemaFactory
- $schemaLabelResolver : SchemaLabelResolver
resolve()
public
resolve(string $table, array<string, mixed> $record) : string
Parameters
- $table : string
- $record : array<string, mixed>