Skip to content

Kirby 4.5.0

$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