Quick question: I am trying to retrieve the raw UUID string without protocol as it is stored in the content file. (e.g. 7gACUZcoLM3VHlKM
instead of page://7gACUZcoLM3VHlKM
).
Is there a way to use built in functions to achieve this?
Quick question: I am trying to retrieve the raw UUID string without protocol as it is stored in the content file. (e.g. 7gACUZcoLM3VHlKM
instead of page://7gACUZcoLM3VHlKM
).
Is there a way to use built in functions to achieve this?
$page->uuid()->id()
Thanks and sorry - not sure how I missed this. I had tried value()
and toString()
…