How to use function from block into model file. I have use
$instanceBlock = $this->_objectManager->get('Magento\Catalog\Block\Product\View\Attributes')
i have try to use the code above but doesn't work to call functions from block to a model
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityHow to use function from block into model file. I have use
$instanceBlock = $this->_objectManager->get('Magento\Catalog\Block\Product\View\Attributes')
i have try to use the code above but doesn't work to call functions from block to a model