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

20 lines
578 B
PHP
Raw Normal View History

2022-08-29 20:14:13 +02:00
<?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(),
]
]
);