$page->uid()
Returns the UID of the page. The UID is basically the same as the slug, but stays the same on multi-language sites. Whereas the slug can be translated.
Alias for Kirby\Cms\Page::slug()
$page->uid(): string
Return type
string
This method modifies the existing $page
object it is applied to and returns it again.
Parent class
Examples
<?= $page->uid() ?>