@@ -54,12 +54,12 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | public function getCMSFields() |
| 56 | 56 | { |
| 57 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
| 57 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
| 58 | 58 | $originalTitle = ReadonlyField::create('Name', i18n::_t( |
| 59 | - __CLASS__ . '.OriginalTitle', |
|
| 59 | + __CLASS__.'.OriginalTitle', |
|
| 60 | 60 | 'Original title' |
| 61 | 61 | ))->setDescription(i18n::_t( |
| 62 | - __CLASS__ . '.OriginalTitleDescription', |
|
| 62 | + __CLASS__.'.OriginalTitleDescription', |
|
| 63 | 63 | 'Title of this field as provided by the CKAN resource' |
| 64 | 64 | )); |
| 65 | 65 | $fields->replaceField('Name', $originalTitle); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | $detail = $fields->dataFieldByName('ShowInDetailView'); |
| 73 | 73 | $duplicates = $fields->dataFieldByName('RemoveDuplicates'); |
| 74 | 74 | |
| 75 | - $fields->removeByName(['ShowInSummaryView', 'ShowInDetailView', 'RemoveDuplicates',]); |
|
| 75 | + $fields->removeByName(['ShowInSummaryView', 'ShowInDetailView', 'RemoveDuplicates', ]); |
|
| 76 | 76 | $fields->insertBefore(FieldGroup::create('Visibility', [$summary, $detail, $duplicates]), 'Order'); |
| 77 | 77 | |
| 78 | 78 | $fields->removeByName('ResourceID'); |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | 'DisplayConditions', |
| 82 | 82 | ResultConditionsField::create( |
| 83 | 83 | 'DisplayConditions', |
| 84 | - _t(__CLASS__ . '.ResultConditions', 'Result conditions') |
|
| 84 | + _t(__CLASS__.'.ResultConditions', 'Result conditions') |
|
| 85 | 85 | ) |
| 86 | 86 | ); |
| 87 | 87 | }); |