Domanda

I am trying to create a custom module with a block that should get the values of variables in view.xml. How can I do this?

È stato utile?

Soluzione 2

I found the answer here. It provides all the needed steps you do to get the variable values in view.xml https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/themes/theme-images.html#view_xml_vars

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top