Magento 2 how to overwrite an admin template

Create new custom module to overwrite the magento2 admin template. For example Here I’m going to overwrite admin order comment section. So let’s create module MageChallenge_SetupData. Next step is copy the admin layout file sales_order_addcomment.xml file from core and place in Our custom magento2 module. Okay, let’s create layout file.

/view/adminhtml/layout/sales_order_addcomment.xml

Continue reading “Magento 2 how to overwrite an admin template”