$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
| Type | Description |
|---|---|
Kirby\Exception\NotFoundException |