Skip to content

Kirby 6.0.1

$languageRouter->routes()

Fetches all scoped routes for the current language from the Kirby instance

$languageRouter->routes(): list>

Return type

list<array<string, mixed>>

Exceptions

Type Description
Kirby\Exception\NotFoundException If the page of a page-scoped route does not exist

Parent class

Kirby\Cms\LanguageRouter