Skip to content

Kirby 4.1.2

$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 type

string|null

Parent class

Kirby\Cms\Event