I would expect <?= $page->uuid() ?>
to print the plain unique ID string but instead, it prints a URI like page://xyz…
– am I misunderstanding something here? What do I do to get the unique ID only, without the protocol?
<?= $page->uuid()->id() ?>
$page->uuid()
returns a Uuid object:
Ah OK, I get it. Thanks.