I'm trying to apply the page's url as a <div>
id to be able to target some css on each individual page. After some characters cleanup I'm hoping to get <div id="test-page">
.
I have tried pulling it in from the object that I get via
ipContent()->getBreadcrumb()
Unfortunately they are all (including one I need) protected and cannot be echoed out.
[urlPath:protected] => test-page/
Is there a function that I've missed and can use to pull that in? Or a proper method of getting it from the object? Cheers.