Skip to content

Kirby 5.0.4

$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

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

Parent class

Kirby\Cms\ModelCommit