Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function setup() |
||
20 | { |
||
21 | CRUD::setModel(Level::class); |
||
22 | CRUD::setRoute(config('backpack.base.route_prefix').'/level'); |
||
23 | CRUD::setEntityNameStrings(__('level'), __('levels')); |
||
24 | CRUD::addClause('withTrashed'); |
||
25 | CRUD::addButtonFromView('line', 'toggle', 'toggle', 'end'); |
||
26 | } |
||
53 |