@@ -42,10 +42,10 @@ |
||
42 | 42 | |
43 | 43 | public function getCMSFields() |
44 | 44 | { |
45 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
45 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
46 | 46 | $fields->push(ListboxField::create( |
47 | 47 | 'FilterFields', |
48 | - _t(__CLASS__ . '.ColumnsToSearch', 'Columns to search'), |
|
48 | + _t(__CLASS__.'.ColumnsToSearch', 'Columns to search'), |
|
49 | 49 | $this->FilterFor()->Fields()->map('ID', 'ReadableName') |
50 | 50 | )); |
51 | 51 |
@@ -17,10 +17,10 @@ |
||
17 | 17 | |
18 | 18 | public function getCMSFields() |
19 | 19 | { |
20 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
20 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
21 | 21 | $fields->push(TextField::create( |
22 | 22 | 'Options', |
23 | - _t(__CLASS__ . '.Options', 'Dropdown options') |
|
23 | + _t(__CLASS__.'.Options', 'Dropdown options') |
|
24 | 24 | )); |
25 | 25 | |
26 | 26 | $fields->removeByName('FilterForID'); |