@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | { |
| 55 | 55 | $labels = parent::fieldLabels($includerelations); |
| 56 | 56 | |
| 57 | - $labels['Content'] = _t(__CLASS__.'.ContentLabel', 'Description'); |
|
| 57 | + $labels[ 'Content' ] = _t(__CLASS__.'.ContentLabel', 'Description'); |
|
| 58 | 58 | |
| 59 | 59 | return $labels; |
| 60 | 60 | } |
@@ -64,10 +64,10 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | public function getCMSFields() |
| 66 | 66 | { |
| 67 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 67 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 68 | 68 | $fields->dataFieldByName('Content') |
| 69 | 69 | ->setRows(5) |
| 70 | - ->setDescription(_t(__CLASS__ . '.ContentDescription', 'optional. Add introductory copy to your slideshow.')); |
|
| 70 | + ->setDescription(_t(__CLASS__.'.ContentDescription', 'optional. Add introductory copy to your slideshow.')); |
|
| 71 | 71 | }); |
| 72 | 72 | |
| 73 | 73 | return parent::getCMSFields(); |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | { |
| 81 | 81 | $count = $this->Slides()->count(); |
| 82 | 82 | $label = _t( |
| 83 | - SlideImage::class . '.PLURALS', |
|
| 83 | + SlideImage::class.'.PLURALS', |
|
| 84 | 84 | '{count} Slide|{count} Slides', |
| 85 | 85 | [ 'count' => $count ] |
| 86 | 86 | ); |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | protected function provideBlockSchema() |
| 94 | 94 | { |
| 95 | 95 | $blockSchema = parent::provideBlockSchema(); |
| 96 | - $blockSchema['content'] = $this->getSummary(); |
|
| 96 | + $blockSchema[ 'content' ] = $this->getSummary(); |
|
| 97 | 97 | return $blockSchema; |
| 98 | 98 | } |
| 99 | 99 | |