Skip to content

Kirby 5.1.3

$event->updateArgument()

Updates a given argument with a new value

$event->updateArgument() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.

$event->updateArgument(string $name, $value): void

Parameters

Name Type Default
$namerequired string no default value
$valuerequired mixed no default value

Exceptions

Parent class

Kirby\Cms\Event