@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | |
44 | 44 | public function getCMSFields() |
45 | 45 | { |
46 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
46 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
47 | 47 | $resource = $this->DataResource(); |
48 | 48 | $fields->addFieldToTab('Root.Data', ResourceLocatorField::create('DataResource')); |
49 | 49 | |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | $fields = parent::getSettingsFields(); |
78 | 78 | |
79 | 79 | $fields->addFieldsToTab('Root.Settings', [ |
80 | - TextField::create('ItemsPerPage', _t(__CLASS__ . '.ITEMS_PER_PAGE', 'Items per page')), |
|
80 | + TextField::create('ItemsPerPage', _t(__CLASS__.'.ITEMS_PER_PAGE', 'Items per page')), |
|
81 | 81 | ]); |
82 | 82 | |
83 | 83 | return $fields; |
@@ -54,10 +54,10 @@ |
||
54 | 54 | |
55 | 55 | public function getCMSFields() |
56 | 56 | { |
57 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
57 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
58 | 58 | $fields->push(ListboxField::create( |
59 | 59 | 'FilterFields', |
60 | - _t(__CLASS__ . '.COLUMNS_TO_SEARCH', 'Columns to search'), |
|
60 | + _t(__CLASS__.'.COLUMNS_TO_SEARCH', 'Columns to search'), |
|
61 | 61 | $this->FilterFor()->Fields()->map('ID', 'ReadableName') |
62 | 62 | )); |
63 | 63 |
@@ -24,10 +24,10 @@ |
||
24 | 24 | |
25 | 25 | public function getCMSFields() |
26 | 26 | { |
27 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
27 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
28 | 28 | $fields->push(TextField::create( |
29 | 29 | 'Options', |
30 | - _t(__CLASS__ . '.OPTIONS', 'Dropdown options') |
|
30 | + _t(__CLASS__.'.OPTIONS', 'Dropdown options') |
|
31 | 31 | )); |
32 | 32 | }); |
33 | 33 |