SanitizerBuilderFactory
Factory for creating a (sanitizer) builder instance. Corresponding presets can be declared in `$GLOBALS['TYPO3_CONF_VARS']['SYS']['htmlSanitizer']` like e.g.
$GLOBALS['TYPO3_CONF_VARS']['SYS']['htmlSanitizer'] = [
'default' => \TYPO3\CMS\Core\Html\DefaultSanitizerBuilder::class,
'custom' => \Vendor\Package\CustomBuilder::class,
];
Table of Contents
Properties
- $configuration : array<string|int, mixed>
Methods
- __construct() : mixed
- build() : BuilderInterface
Properties
$configuration
protected
array<string|int, mixed>
$configuration
Methods
__construct()
public
__construct([array<string|int, mixed>|null $configuration = null ]) : mixed
Parameters
- $configuration : array<string|int, mixed>|null = null
build()
public
build(string $identifier) : BuilderInterface
Parameters
- $identifier : string