Skip to content

Kirby 5.0.4

$languageRouter->routes()

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

$languageRouter->routes(): array

Return type

array

This method modifies the existing $languagerouter object it is applied to and returns it again.

Exceptions

Parent class

Kirby\Cms\LanguageRouter