$events->hooks()
Returns all matching hook handlers for the given event
$events->hooks(Kirby\Cms\Event $event): array
Parameters
| Name | Type | Default |
|---|---|---|
| $eventrequired | Kirby\Cms\Event |
no default value |
Return type
array
This method modifies the existing $events object it is applied to and returns it again.