| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | protected function moveTitleAndDisplayedCheckbox(FieldList $fields) |
||
| 25 | { |
||
| 26 | /** @see DNADesign\Elemental\Models\BaseElement */ |
||
| 27 | $composite = $fields->fieldByName('Root.Main.TitleAndDisplayed'); |
||
| 28 | |||
| 29 | $fields->removeByName('TitleAndDisplayed'); |
||
| 30 | $fields->findOrMakeTab('Root.FormFields')->unshift($composite); |
||
| 31 | $fields->removeByName('Root.Main'); |
||
| 32 | |||
| 33 | return $this; |
||
| 34 | } |
||
| 36 |