Skip to content

Kirby 5.0.1

$event->action()

Returns the action of the event (e.g. create) or null if the event name does not include an action

$event->action(): string|null

Return types

stringornull

Parent class

Kirby\Cms\Event