Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function initialize() |
||
23 | { |
||
24 | parent::initialize(); |
||
25 | $this->setHtmlAttributes([ |
||
26 | 'name' => 'next_action', |
||
27 | 'class' => 'btn btn-danger btn-delete', |
||
28 | 'data-url' => $this->getModelConfiguration()->getDeleteUrl($this->getModel()->getKey()), |
||
29 | 'data-redirect' => $this->getModelConfiguration()->getDisplayUrl(), |
||
30 | ]); |
||
31 | } |
||
32 | |||
47 |