Skip to content

Kirby 4.5.0

$event->argument()

Returns a specific event argument

$event->argument(string $name): mixed|null

Parameters

Name Type Default
$name * string

Return type

mixed|null

Parent class

Kirby\Cms\Event