$site->urlForLanguage()
Returns the translated url
$site->urlForLanguage(string $languageCode = null, array $options = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$languageCode |
string |
null |
|
$options |
array |
null |
Return type
string