Exam4Training

What two elements automatically render their children?

You are developing a module MyCompany_StoreInfo to display information about brick and mortar stores on a frontend page. The displayed information varies based on the country of a given store.

What two elements automatically render their children? (Choose two.)
A . <block class=”MagentoFrameworkViewElementAbstractBlock” name=”shop.info.details”/>
B . <block class=”MagentoFrameworkViewElementTemplate” name=”shop.info.details”/>
C . <container name=”shop.info.details”/>
D . <block class=”MagentoFrameworkViewElementTextListText” name=”shop.info.details”/>

Answer: BC

Explanation:

Reference: https://magento.stackexchange.com/questions/202403/creating-a-new-container-and-placing­it-where-i-want-in-magento-2

Exit mobile version