Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | function updateCMSFields(FieldList $fields) { |
||
16 | /* |
||
17 | // Currently the ToggleCompositeField plays badly with TreeDropdownField formatting. |
||
18 | // Could be switched back in the future, if this is fixed. |
||
19 | $fields->addFieldToTab('Root.Main', |
||
20 | ToggleCompositeField::create('Import', 'Import', array( |
||
21 | new DocumentImportField() |
||
22 | ))->setHeadingLevel(4) |
||
23 | ); |
||
24 | */ |
||
25 | $fields->findOrMakeTab( |
||
26 | 'Root.Import', |
||
27 | _t(__CLASS__ . '.ImportTab', 'Import') |
||
28 | ); |
||
29 | $fields->addFieldToTab('Root.Import', DocumentConversionField::create()); |
||
30 | } |
||
32 |