| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function configureOptions(OptionsResolver $resolver) |
||
| 28 | { |
||
| 29 | parent::configureOptions($resolver); |
||
| 30 | |||
| 31 | $resolver->setDefaults(array( |
||
| 32 | 'align' => 'right', |
||
| 33 | 'searchable' => false, |
||
| 34 | 'sortable' => false, |
||
| 35 | 'actions' => [], |
||
| 36 | 'actions_params' => [], |
||
| 37 | 'filter' => false, |
||
| 38 | 'template' => 'CwdFancyGridBundle:Column:actions.html.twig', |
||
| 39 | 'width' => 200, |
||
| 40 | 'cls' => 'grid-action', |
||
| 41 | )); |
||
| 42 | |||
| 43 | $resolver->setAllowedTypes('actions', 'array'); |
||
| 44 | $resolver->setAllowedTypes('actions_params', 'array'); |
||
| 45 | } |
||
| 46 | } |
||
| 47 |