Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
24 | public function buildView(FormView $view, FormInterface $form, array $options): void |
||
25 | { |
||
26 | $view->vars['attr']['data-allow-add'] = (int) $options['allow_add']; |
||
27 | $view->vars['attr']['data-allow-delete'] = (int) $options['allow_delete']; |
||
28 | $view->vars['attr']['data-prototype-name'] = $options['prototype_name']; |
||
29 | } |
||
31 |