$language->url()

Returns the assigned base URL for the language

  • return (string)

Example

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