Hook actionModifyHtmlPurifierConfig
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
Call of the Hook in the origin file
Hook::exec('actionModifyHtmlPurifierConfig', [
'config' => &$config,
]);