Magento 2 Custom Module File Placement Quiz

StrongerPolarBear avatar
StrongerPolarBear
·
·
Download

Start Quiz

Study Flashcards

10 Questions

Where should the _module.less file, which is a starting point for module-related styles, be placed?

app/code

What types of files should be placed in a module's folder according to the provided information?

Html, phtml, js, and layout files

Where should general theme variables and common styles be placed?

app/design

What is the rule of thumb for deciding whether to place files in the module's folder or the theme's folder?

Anything theme-independent should be placed in the module's folder

Where should customizations specific to a custom theme be placed?

app/design

Where should customizations specific to a custom theme be placed?

app/design/frontend

Identify the purpose of styles-m.less, styles-l.less, print.less?

styles-m.less is for medium screen styles, styles-l.less is for large screen styles, and print.less is for print styles

What should be placed in the app/code folder?

Custom modules and extensions

Where should the _module.less file, which is a starting point for module-related styles, be placed?

app/design/frontend

What is the purpose of layout XML instructions in Adobe Commerce?

To define the structure and appearance of pages

Test your knowledge of file placement in Magento 2 custom modules with this quiz. Identify when to place files in app/code versus app/design, and understand the specific files associated with custom module development.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser