Magento2 : Call getViewFileUrl() function in block file – magento.stackexchange.com

How to call function getViewFileUrl() in block file? For phtml it is $this->getViewFileUrl('images/img.jpg') but it's not working on block file. what is syntax for block file which class I have ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Magento2 : Call getViewFileUrl() function in block file – magento.stackexchange.com"