@@ -45,7 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | public function getCMSFields() |
| 47 | 47 | { |
| 48 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 48 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 49 | 49 | $fields->addFieldToTab( |
| 50 | 50 | 'Root.Main', |
| 51 | 51 | TextField::create('Author', $this->fieldLabel('Author')), |
@@ -186,7 +186,7 @@ |
||
| 186 | 186 | |
| 187 | 187 | public function getCMSFields() |
| 188 | 188 | { |
| 189 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 189 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 190 | 190 | // Related Pages |
| 191 | 191 | $components = GridFieldConfig_RelationEditor::create(); |
| 192 | 192 | $components->removeComponentsByType(GridFieldAddNewButton::class); |