| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | public function getCMSFields() |
||
| 34 | { |
||
| 35 | $this->beforeUpdateCMSFields(function (FieldList $fields) { |
||
| 36 | /** @var HTMLEditorField $editorField */ |
||
| 37 | $editorField = $fields->fieldByName('Root.Main.HTML'); |
||
| 38 | $editorField->setTitle(_t(__CLASS__ . '.ContentLabel', 'Content')); |
||
| 39 | }); |
||
| 40 | |||
| 41 | return parent::getCMSFields(); |
||
| 42 | } |
||
| 61 |