Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E720 Topic 8 Question 10 Discussion

Actual exam question for Adobe's AD0-E720 exam
Question #: 10
Topic #: 8
[All AD0-E720 Questions]

An Adobe Commerce developer wants to create a new theme Vendor_Orange which extends from MagentoMum

a. Which file is responsible for specifying the parent theme?

Show Suggested Answer Hide Answer
Suggested Answer: B

The bin/magento dev:source-theme:deploy command is used to create symlinks for frontend theme files during development. This command allows the developer to modify source files without running static content deployment every time. The developer can use parameters to specify the type, locale, theme, and file names for creating symlinks. For example, to create symlinks for a CSS file named styles-l.css for the Vendor/Orange theme and the en_US locale, the developer can use:

bin/magento dev:source-theme:deploy --type=less --locale=en_US --theme=Vendor/Orange css/styles-l

The other two options are incorrect because they do not create symlinks for frontend theme files. The bin/magento dev:theme:deploy command is used to register themes with Magento and clear caches. The bin/magento deploy:mode:set command is used to change the application mode. Reference:Adobe Commerce Developer Documentation,Adobe Inc.


Contribute your Thoughts:

Scarlet
20 days ago
I bet the developer's last name is 'Carrot' and they're just trying to be punny with the 'Vendor_Orange' theme.
upvoted 0 times
...
Yesenia
26 days ago
Theme.xml, of course! How else would the system know which theme to inherit from? This is like Magento 101.
upvoted 0 times
...
Rosendo
1 months ago
Hmm, I would have guessed the registration.php file. That's where all the module/theme registration happens, right? But I guess theme.xml makes more sense.
upvoted 0 times
Hayley
3 days ago
B) registration.php
upvoted 0 times
...
Ronald
14 days ago
A) view.xml
upvoted 0 times
...
...
Micah
1 months ago
I'm pretty sure it's the view.xml file that holds the parent theme information. That's where I've seen it in the past.
upvoted 0 times
Samira
3 days ago
A) view.xml
upvoted 0 times
...
...
Melina
2 months ago
Actually, it's view.xml. That's where the parent theme is specified in Magento.
upvoted 0 times
...
Viva
2 months ago
I believe it's registration.php because that's where the theme is registered.
upvoted 0 times
...
Melina
2 months ago
I think the file responsible for specifying the parent theme is theme.xml.
upvoted 0 times
...
Latricia
2 months ago
Actually, it's view.xml as it defines the theme's layout and structure.
upvoted 0 times
...
Desmond
2 months ago
I believe it's registration.php because it registers the theme.
upvoted 0 times
...
Theodora
2 months ago
The theme.xml file is definitely the one responsible for specifying the parent theme. This is the go-to file for defining all the theme's properties.
upvoted 0 times
Rachael
21 days ago
C: Got it. I'll make sure to update the theme.xml file for the new Vendor_Orange theme.
upvoted 0 times
...
Hildred
24 days ago
A: Exactly. It's an important file for setting up the theme structure.
upvoted 0 times
...
Laquanda
1 months ago
B: Oh, I see. So that's where you define all the theme's properties.
upvoted 0 times
...
Olive
1 months ago
A: The theme.xml file is the one you need to specify the parent theme in.
upvoted 0 times
...
...
Thora
2 months ago
I think the file responsible for specifying the parent theme is theme.xml.
upvoted 0 times
...

Save Cancel