Total Complexity | 1 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
18 | class FreeTextSearchSiteConfig extends DataExtension |
||
19 | { |
||
20 | private static $db = array( |
||
21 | 'BulkSize' => 'Int', |
||
22 | |||
23 | // Enums do not work, breaks build. True to index in bulk, false not to |
||
24 | 'FreeTextSearchIndexingModeInBulk' => 'Boolean', |
||
25 | ); |
||
26 | |||
27 | private static $defaults = [ |
||
28 | 'BulkSize' => 500, |
||
29 | 'FreeTextSearchIndexingModeInBulk' => false, |
||
30 | ]; |
||
31 | |||
32 | |||
33 | public function updateCMSFields(FieldList $fields) |
||
41 |