$language->url()

Returns the assigned base URL for the language

  • return (string)

Example

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

Is something missing or incorrect? Edit this page on Github…