Skip to content

Kirby 4.1.2

$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