$page->id()

Returns the page id, which is the untranslated URI

  • return (string)

Example

<?= $page->id() ?>

Is something missing or incorrect? Edit this page on Github…