Related questions
Question 42 - AD0-E717 discussion
What is the correct way to inject CMS block in a layout?
A.
<block class='Magento\Cms\Block\Block' name='blockjdentifier'> <arguments> q <argumentname='block_id'xsi:type='string'>my_cms_block_identifier</argument> </arguments> </block>
B.
<block class='Magento\Cms\Block\Block' name='block_identifier'> q <actionmethod='setBlock'>my_cms_block_identifier</action> </block>
C.
<referenceBlock name='content'> <block class='Magento\Cms\Block\Block' name='block_identifier' identifier='my_cms_block_ldentrfier' /> </referenceBlock>
Your answer:
0 comments
Sorted by
Leave a comment first