mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +02:00
Fix phpdoc example for MarkupHTMLPurifier processwire/processwire-issues#226
This commit is contained in:
@@ -93,7 +93,7 @@ class MarkupHTMLPurifier extends WireData implements Module {
|
|||||||
* Method to allow hooks to further initialize HTMLPurifier config/settings
|
* Method to allow hooks to further initialize HTMLPurifier config/settings
|
||||||
*
|
*
|
||||||
* ~~~~~
|
* ~~~~~
|
||||||
* $wire->addHook('MarkupHTMLPurifier::initSettings', function($event) {
|
* $wire->addHook('MarkupHTMLPurifier::initConfig', function($event) {
|
||||||
* $def = $event->arguments(1);
|
* $def = $event->arguments(1);
|
||||||
* $def->addAttribute('a', 'data-ext', 'Text');
|
* $def->addAttribute('a', 'data-ext', 'Text');
|
||||||
* });
|
* });
|
||||||
|
Reference in New Issue
Block a user