Skip to content

Kirby 6.0.0

$viewRoutes->params()

$viewRoutes->params(Closure|array|string $params, string|null $action = null): array

Parameters

Name Type Default
$paramsrequired Closureorarrayorstring no default value
$action stringornull null

Return type

array

Parent class

Kirby\Panel\Routes\ViewRoutes inherited from Kirby\Panel\Routes\Routes