Magento 2 - Call Static Block Using XML

For calling static block using xml use below code in your XML layout files:


<block class="Magento\Cms\Block\Block" name="custombanner">
<arguments> <argument name="your_block" xsi:type="string">custombanner</argument> </arguments> </block>

Comments