📜  https:magento.stackexchange.com 问题 79708 magento-2-call-a-static-block-using-xml - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:54.605000             🧑  作者: Mango

代码示例1
getLayout()->createBlock('Magento\Cms\Block\Block')->setBlockId('block_identifier')->toHtml();?>