FinisherOptionsFlexFormOverridesConverter
Apply FlexForm finisher option overrides
Table of Contents
Properties
Methods
- __construct() : mixed
- __invoke() : void
- Used for overriding finisher options with flexform settings Flexform settings "win": When a setting is set in the form definition and in flexform the one in flexform will overwrite the one defined in the form definition.
Properties
$converterDto
protected
FlexFormFinisherOverridesConverterDto
$converterDto
Methods
__construct()
public
__construct(FlexFormFinisherOverridesConverterDto $converterDto) : mixed
Parameters
- $converterDto : FlexFormFinisherOverridesConverterDto
__invoke()
Used for overriding finisher options with flexform settings Flexform settings "win": When a setting is set in the form definition and in flexform the one in flexform will overwrite the one defined in the form definition.
public
__invoke(string $_, mixed $__, array<string|int, mixed> $matches) : void
Here we adjust the parsed configuration and apply the overrides.
Parameters
- $_ : string
-
unused in this context
- $__ : mixed
-
unused in this context
- $matches : array<string|int, mixed>
-
the expression matches from the ArrayProcessor - for example matches of ^(.*).config.type$