How to change a template for a standard block
By calling setTemplate method of course!
1 2 3 4 5 |
<referenceBlock name='copyright'> <action method='setTemplate'> <argument name='template' xsi:type='string'>Dfr_Backend::page/copyright.phtml</argument> </action> </referenceBlock> |
More tips from Magento 2 Developer’s Cookbook

