| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 49 | public function getCMSFields() |
||
| 50 | { |
||
| 51 | $this->beforeUpdateCMSFields(function (FieldList $fields) { |
||
| 52 | $fields->addFieldToTab( |
||
| 53 | 'Root.Main', |
||
| 54 | HTMLEditorField::create('Title') |
||
| 55 | ->setTitle('Direction Step') |
||
| 56 | ->setRows(5) |
||
| 57 | ); |
||
| 58 | |||
| 59 | $fields->removeByName('Sort'); |
||
| 60 | }); |
||
| 61 | |||
| 62 | return parent::getCMSFields(); |
||
| 63 | } |
||
| 102 |