I want to get all allow attributes of a product in single page.
In magento 1.7 i was using below code :
<?php $_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes()); ?>
But how can i achieve same thing in magento 2 ?
Also I have to display all these attributes in single product page. So how to render configurable.phtml file inside single product page file?