As im new to yii2 im trying to get all available translation page slugs, so for example I want to loop all page slugs on the same page (available translatiosn are for example en, de,es) as im trying to add all correct hreflang attribute to the code.
well im new to yii2, so im trying to get all translated urls, below is an example. I want to add all translated available urls on the same page which i want to use for the hreflang attribute.