Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function configureOptions(OptionsResolver $resolver) |
||
27 | { |
||
28 | parent::configureOptions($resolver); |
||
29 | |||
30 | $resolver->setDefaults(array( |
||
31 | 'align' => 'right', |
||
32 | 'cellAlign' => 'right', |
||
33 | 'format' => [ |
||
34 | 'read' => 'Y-m-d H:i:s', |
||
35 | 'write' => 'd.m.Y H:i:s', |
||
36 | 'edit' => 'Y-m-d' |
||
37 | ], |
||
38 | 'width' => 150, |
||
39 | 'type' => 'date' |
||
40 | )); |
||
41 | |||
42 | $resolver->setAllowedTypes('attr', 'array'); |
||
43 | } |
||
44 | |||
66 |