Skip to content

Kirby 6.0.0

$modelCommit->afterHookArguments()

Returns the appropriate arguments for the after hook for the given model action. It's a wrapper around the more specific afterHookArgumentsFor*Actions methods.

$modelCommit->afterHookArguments(mixed $state): array

Parameters

Name Type Default
$staterequired mixed no default value

Return type

array<string, mixed>

Parent class

Kirby\Cms\ModelCommit