Skip to content

Kirby 4.5.0

$language->url()

Returns the absolute Url for the language

$language->url(): string

Return type

string

Parent class

Kirby\Cms\Language

Example

<?= $site->language('en')->url() ?>