2 declare(strict_types = 1);
32 public function __invoke(
string $_, $value, array $matches)
34 [, $formElementType] = $matches;
36 $formElementGroup = $value;
38 $result = $this->extractorDto->getResult();
41 $this->extractorDto->getPrototypeConfiguration(),
42 'formElementsDefinition.' . $formElementType .
'.formEditor.groupSorting',
45 $result[
'formElements'][$formElementType][
'creatable'] =
false;
46 $this->extractorDto->setResult($result);
50 $formElementGroups = array_keys(
54 $result[
'formElements'][$formElementType][
'creatable'] = in_array(
60 $this->extractorDto->setResult($result);