@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public function getCMSFields() |
| 44 | 44 | { |
| 45 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 45 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 46 | 46 | $fields->removeByName('ElementPromos'); |
| 47 | 47 | |
| 48 | 48 | $config = GridFieldConfig_RecordViewer::create(); |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | */ |
| 72 | 72 | public function getCMSFields() |
| 73 | 73 | { |
| 74 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 74 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 75 | 75 | $fields->dataFieldByName('Content') |
| 76 | 76 | ->setRows(8); |
| 77 | 77 | $fields->dataFieldByName('Alternate')->setTitle('Alternate images and text'); |