QuestionQ8

Adobe Experience Manager Sites

An Adobe Commerce Developer is adding a new page layout to the theme directory of a custom theme.

Which file must be created to register the new page layout?

  • A app/design/frontend/<VendorName>/<ThemeName>/layouts.xml
  • B app/design/frontend/<VendorName>/<ThemeName>/Magento_Theme/layouts.xml
  • C app/design/frontend/<VendorName>/<ThemeName>/Magento_Theme/layout/layouts.xml
Explanation

A custom page layout is registered in the theme-level Magento_Theme/layouts.xml file. This file declares the layout ID and label; the ID must match the corresponding XML file in Magento_Theme/page_layout.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!