i want dispaly my url path which i had follwed to reach the present action in the breadcrumb part.and it has to be updated dynamically. Please help
$request = $this->getShared('request'); //we need Request service $currentURI = $request->getURI(); //Gets HTTP URI which request has been made
Broken link. Put it inside of 'code' snipped here:
`https://url.com/here.html`
iwant to print the previous action as well..like it printed new->worlnews->abc->def(current action)
Then you need to maintain previous $request->getURI() as well. The best would be to create a shared service which will handle all of that logic at one place. You'd need to use session service for sure.
$request->getURI()
session