SanitizerBuilderFactory

Read onlyYes
FinalYes

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,
];
Internal

Table of Contents

Methods

build()  : BuilderInterface

Methods

build()

public build(string $identifier) : BuilderInterface
Parameters
$identifier : string
Return values
BuilderInterface

        
On this page

Search results