AD0-E709試験無料問題集「Adobe Commerce Developer Expert 認定」
An Adobe Commerce Developer is tasked with creating a module which generates a sitemap by cron. While writing the module, they realize they will need to use environment emulation to ensure the data is generated from a frontend perspective. They notice that the Emulation: :startEnvironmentEmulation() method accepts a
$force parameter.
Why would this be set to true?
$force parameter.
Why would this be set to true?
正解:B
解答を投票する
There is a custom extension called MyCompany_MyModule.
It has the following layout customization declared in MyCompany/MyModule/view/frontend/layout/default.xml:
<referenceContainer name="content">
<block class="Magento\Framework\View\Element\Template"
name="my.block"
template="MyCompany_MyModule::my_template.phtml"
cacheable="false"/>
</referenceContainer>
What will be the result of the customization?
It has the following layout customization declared in MyCompany/MyModule/view/frontend/layout/default.xml:
<referenceContainer name="content">
<block class="Magento\Framework\View\Element\Template"
name="my.block"
template="MyCompany_MyModule::my_template.phtml"
cacheable="false"/>
</referenceContainer>
What will be the result of the customization?
正解:C
解答を投票する