Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function updateSettingsFields(FieldList $fields) |
||
28 | { |
||
29 | $helpText = _t( |
||
30 | __CLASS__ . '.SHOW_PAGE_UTILITIES_HELP', |
||
31 | 'You can disable page utilities (print, share, etc) for this page' |
||
32 | ); |
||
33 | |||
34 | $fields->addFieldsToTab( |
||
35 | 'Root.Settings', |
||
36 | array( |
||
37 | LiteralField::create('PageUtilitiesHelp', $helpText), |
||
38 | CheckboxField::create('ShowPageUtilities', $this->owner->fieldLabel('ShowPageUtilities')) |
||
39 | ) |
||
48 |