@@ -9,13 +9,13 @@ discard block |
||
9 | 9 | class PageExtension extends DataExtension |
10 | 10 | { |
11 | 11 | |
12 | - private static $has_one = [ |
|
13 | - 'ImportedFromFile' => File::class |
|
14 | - ]; |
|
12 | + private static $has_one = [ |
|
13 | + 'ImportedFromFile' => File::class |
|
14 | + ]; |
|
15 | 15 | |
16 | - public function updateCMSFields(FieldList $fields) |
|
17 | - { |
|
18 | - /* |
|
16 | + public function updateCMSFields(FieldList $fields) |
|
17 | + { |
|
18 | + /* |
|
19 | 19 | // Currently the ToggleCompositeField plays badly with TreeDropdownField formatting. |
20 | 20 | // Could be switched back in the future, if this is fixed. |
21 | 21 | $fields->addFieldToTab('Root.Main', |
@@ -24,10 +24,10 @@ discard block |
||
24 | 24 | ])->setHeadingLevel(4) |
25 | 25 | ); |
26 | 26 | */ |
27 | - $fields->findOrMakeTab( |
|
28 | - 'Root.Import', |
|
29 | - _t(__CLASS__ . '.ImportTab', 'Import') |
|
30 | - ); |
|
31 | - $fields->addFieldToTab('Root.Import', SettingsField::create()); |
|
32 | - } |
|
27 | + $fields->findOrMakeTab( |
|
28 | + 'Root.Import', |
|
29 | + _t(__CLASS__ . '.ImportTab', 'Import') |
|
30 | + ); |
|
31 | + $fields->addFieldToTab('Root.Import', SettingsField::create()); |
|
32 | + } |
|
33 | 33 | } |