$language->url()

Returns the assigned base URL for the language

  • return (string)

Example

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