Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function updateCMSFields(FieldList $fields) |
||
40 | { |
||
41 | $fields->addFieldsToTab('Root.EnvironmentIndicator', [ |
||
42 | CheckboxField::create( |
||
43 | 'EnvBarDisplay', |
||
44 | 'Display the environment indicator bar?' |
||
45 | )->setDescription('Check to show the environment indicator bar on' |
||
46 | . ' all pages being viewed in this environment.'), |
||
47 | ]); |
||
50 |