Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

MAGENTO 2 EXAM QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
08-09-2023
Written in
2023/2024

Which files are necessary to install - upgrade database tables and to records in it - Answer- o InstallSchema o UpgradeSchema o InstallData o UpgradeData In which file vender path stored and at which location? - Answer- App/etc/vendor_ Which class Magento 2 helper extend? - Answer- MagentoFrameworkAppHelperAbstractHelper What is the difference between cache:clean and cache:flush command? - Answer- o Cache:clean deletes all items from enabled Magento cache types only. But cache:flush physically removes completely the cache storage. o Cache:clean will not clean Disabled cache types. But cache:flush will disabled cache types also. What is resource attribute for admin menu item? - Answer- o 'resource' attribute defines the ACL rule, that a user must have in order to access this Menu Item. o Predefined ACL rule (Magento_Backend::content) from a standard Magento module. o If the logged in user does not have access to the configured ACL rule, the Menu Item will not render for them. What does $this-resultPageFactory-create(); statement means in controller file? - Answer- o In Magento 2 all controller actions must return something, opposed to M1, where a controller action would just output something or did a redirect. o resultPageFactory is an instance of MagentoFrameworkViewResultPageFactory and when calling create() on that class it returns an instance of MagentoFrameworkViewResultPage described above. o When this is used and the result is returned it means that your action will return HTML. o It has somehow a similar effect as $this-loadLayout(); from Magento 1. When you call create on the resultPageFactory object it actually loads the layout.

Show more Read less
Institution
MAGENTO 2
Course
MAGENTO 2









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
MAGENTO 2
Course
MAGENTO 2

Document information

Uploaded on
September 8, 2023
Number of pages
14
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$12.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
QUEENS Harvard University
Follow You need to be logged in order to follow users or courses
Sold
227
Member since
4 year
Number of followers
180
Documents
4687
Last sold
4 weeks ago

4.1

61 reviews

5
35
4
10
3
8
2
3
1
5

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions