Hook actionModifyHtmlPurifierConfig

Informations

Called when configuring HTMLPurifier Allows modules to modify the HTMLPurifier definition by adding custom allowed HTML elements or attributes during Tools::purifyHTML().
Hook actionModifyHtmlPurifierConfig
Locations
FO
Type action
Origin core
Aliases
Description Allows modules to modify the HTMLPurifier definition by adding custom allowed HTML elements or attributes during Tools::purifyHTML().

Located in

Origin File
core classes/Tools.php

Call of the Hook in the origin file

Hook::exec('actionModifyHtmlPurifierConfig', [
                        'config' => &$config,
                    ]);