Skip to content

Kirby 6.0.0

$searchRoutes->action()

Wraps the given query action with additional controller code to fetch arguments from the request

$searchRoutes->action(Closure $action): Closure

Parameters

Name Type Default
$actionrequired Closure no default value

Return type

Closure

Parent class

Kirby\Panel\Routes\SearchRoutes