Skip to content

Kirby 5.1.3

$event->argument()

Returns a specific event argument

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

Parameters

Name Type Default
$namerequired string no default value

Return type

mixed

This method modifies the existing $event object it is applied to and returns it again.

Parent class

Kirby\Cms\Event