Conditions | 4 |
Paths | 5 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
36 | public function buildView(FormView $view, FormInterface$form, array $options) |
||
37 | { |
||
38 | $actions = $options['actions']; |
||
39 | if(!empty($actions)){ |
||
40 | $data = $form->getParent() && $form->getParent()->getData() ? $form->getParent()->getData() : null; |
||
41 | $actions = $this->createActionsViewData($actions, $data); |
||
42 | } |
||
43 | |||
44 | $view->vars['actions'] = $actions; |
||
45 | } |
||
46 | |||
57 |