Filter HTML field before rending a page:
This hook is called just before fetching a page on HTML field
Hook locations:
Located in:
This hook has a $chain
parameter set to true
(hook will chain the return of hook module, see explaination here).
Hook::exec(
'filterHtmlContent',
[
'type' => $type,
'htmlFields' => $htmlFields,
'object' => $presentedObject,
],
null,
false,
true,
false,
null,
true
)