$page->uri()
The uri is the same as the id, except that it will be translated in multi-language setups
$page->uri(string $languageCode = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$languageCode |
string |
null |
Return type
string
Example
<?= $page->uri() ?>