Skip to content

Kirby 4.5.0

new LanguageRouter()

Creates a new language router instance for the given language

new LanguageRouter(Kirby\Cms\Language $language)

Parameters

Name Type Default
$language * Kirby\Cms\Language

Parent class

Kirby\Cms\LanguageRouter