tao-test/app/taoQtiItem/config/default/QtiItemContentTokenizer.conf.php

20 lines
578 B
PHP

<?php
/**
* Default config header created during install
*/
use oat\taoQtiItem\model\search\Tokenizer\Filter\ClearValueFilter;
use oat\taoQtiItem\model\search\Tokenizer\Filter\NotBase64ContentFilter;
use oat\taoQtiItem\model\search\Tokenizer\Filter\NotJsonFilter;
use oat\taoQtiItem\model\search\QtiItemContentTokenizer;
return new oat\taoQtiItem\model\search\QtiItemContentTokenizer(
[
QtiItemContentTokenizer::OPTION_FILTERS => [
new NotJsonFilter(),
new ClearValueFilter(),
new NotBase64ContentFilter(),
]
]
);