Skip to content

Kirby 6.0.0

$dropdownRoutes->pattern()

Builds the full routing pattern with the given prefix

$dropdownRoutes->pattern(array|string $pattern): array|string

Parameters

Name Type Default
$patternrequired arrayorstring no default value

Return types

arrayorstring

Parent class

Kirby\Panel\Routes\DropdownRoutes inherited from Kirby\Panel\Routes\Routes