$page->uri()
The uri is the same as the id, except that it will be translated in multi-language setups
$page->uri(string|null $languageCode = null): string
Parameters
| Name | Type | Default |
|---|---|---|
| $languageCode | stringornull |
null
|
Return type
string
This method modifies the existing $page object it is applied to and returns it again.
Parent class
Examples
<?= $page->uri() ?>