Skip to content

Kirby 6.0.0

$panel->path()

Returns the path after /panel/ which can then be used in the router or to find a matching view

$panel->path(string $url): string|null

Parameters

Name Type Default
$urlrequired string no default value

Return types

stringornull

Parent class

Kirby\Panel\Panel