Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function addField(FieldDescriptionCollection $list, $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin): void |
||
37 | { |
||
38 | $fieldDescription->setType($type); |
||
39 | $admin->addListFieldDescription($fieldDescription->getName(), $fieldDescription); |
||
40 | $fieldDescription->setAdmin($admin); |
||
41 | |||
42 | $list->add($fieldDescription); |
||
43 | } |
||
44 | } |
||
45 |