$kirby->trigger()
Trigger a hook by name
Parameters
Name | Type | Default | Description |
---|---|---|---|
$name * | string |
– | Full event name |
$args | array |
[ ] |
Associative array of named event arguments |
$originalEvent | Kirby\Cms\Event |
null |
Event object (internal use) |