04.07.2019 Views

frontend-developer-1

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Magento Design Configuration System<br />

2.1 DESCRIBE THE RELATIONSHIP BETWEEN<br />

THEMES<br />

What type of relationships can exist between themes?<br />

Parent/child.<br />

In the theme’s theme.xml file, you can specify the node, like:<br />

Magento/blank. As such, a theme can be a part of (or the<br />

end of) many layers of other themes.<br />

This hierarchy is what is used to determine the fallback sequence for theme<br />

inheritance (see here and here).<br />

What is the difference between a parent theme and a child<br />

theme?<br />

The only difference is that the child theme is the theme that is currently selected for<br />

display in the specified area. Any theme can be chosen for display (whether or not it<br />

specifies a parent in theme.xml).<br />

HELPFUL LINKS:<br />

• https://devdocs.magento.com/guides/v2.2/<strong>frontend</strong>-dev-guide/<br />

themes/theme-inherit.html<br />

Copyright © 2018, SwiftOtter, Inc.<br />

15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!