2 declare(strict_types = 1);
32 public function __invoke(
string $_, $value, array $matches)
34 [, $formElementType, $formEditorIndex] = $matches;
37 $value !==
'Inspector-PropertyGridEditor'
38 && $value !==
'Inspector-MultiSelectEditor'
39 && $value !==
'Inspector-ValidationErrorMessageEditor'
40 && $value !==
'Inspector-RequiredValidatorEditor'
45 if ($value ===
'Inspector-RequiredValidatorEditor') {
46 $propertyPath = implode(
49 'formElementsDefinition',
54 'configurationOptions',
55 'validationErrorMessage',
60 $propertyPath = implode(
63 'formElementsDefinition',
73 $result = $this->extractorDto->getResult();
77 $this->extractorDto->getPrototypeConfiguration(),
83 if ($value ===
'Inspector-PropertyGridEditor') {
84 $result[
'formElements'][$formElementType][
'multiValueProperties'][] =
'defaultValue';
87 $this->extractorDto->setResult($result);