Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | 1 | public function updateCMSFields(FieldList $fields) |
|
24 | { |
||
25 | 1 | $fields->addFieldsToTab('Root.Settings', [ |
|
26 | 1 | NumericField::create('DefaultLat') |
|
27 | 1 | ->setTitle('Default Latitude') |
|
28 | 1 | ->setScale(7), |
|
29 | 1 | NumericField::create('DefaultLng') |
|
30 | 1 | ->setTitle('Default Longitude') |
|
31 | 1 | ->setScale(7), |
|
32 | 1 | CheckboxField::create('Clusters') |
|
33 | 1 | ->setRightTitle('Cluster the markers when zoomed out.'), |
|
34 | ]); |
||
38 |