<< Prev Question Next Question >>

Question 8/60

You are working on a new entity called vendor. You implemented the model, resource model and collection. You want to ensure that standard model events will be fired for your model, so an observer can be created for the events vendor_save_after, vendor_save_commit_after and others.
How do you do that?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (60q)
Question 1: You are developing a module and need to add another column t...
Question 2: The value of a product attribute in the Adobe Commerce syste...
Question 3: Assume that a customer's cart only includes one downloadable...
Question 4: A developer delected lhat a piece of functionality implement...
Question 5: How do you persist an entity to the database?...
Question 6: Which tag should be used in module.xml to ensure dependency ...
Question 7: Which layout file should be used for a product with a specif...
Question 8: You are working on a new entity called vendor. You implement...
Question 9: You are adding a new menu item to the admin backend which wi...
Question 10: Magento allows you to specify custom values per store for pr...
Question 11: Magento 2's architecture uses code to bootstrap a custom mod...
Question 12: The module MyCompany_MyModule provides custom admin interfac...
Question 13: How are multiple EAV attributes belonging to the same entity...
Question 14: You are implementing a before plugin in MyCompany_Magic. It ...
Question 15: In which two directories are third-party modules located by ...
Question 16: While reviewing a layout file named sales_order_view.xml you...
Question 17: A module declares the route: (Exhibit) What is the layout ha...
Question 18: Which attribute input type should a developer use for a bool...
Question 19: A developer needs to configure a page to use the single-colu...
Question 20: A merchant gives you the module MyCompany_MyModule to instal...
1 commentQuestion 21: Which three scopes can be used to set different System Confi...
Question 22: Which command can be used to display a full list of enabled ...
Question 23: Under which section should the soft dependency for a module ...
Question 24: How should a developer associate a resource model inherited ...
Question 25: Which type of product is typically used for items such as se...
Question 26: You want to declare a block of the type \Magento\Framework\V...
Question 27: What is the default store ID for the admin panel?...
Question 28: Which command should be used to deploy static content?...
Question 29: How do you pass an array ['one', 'two] as a parameter to you...
Question 30: You are writing a customization for the customer module. You...
Question 31: What order operation is available in the My Account section ...
Question 32: How do you set the custom block MyCompany\MyModule\Block\A a...
Question 33: A merchant tasked you to add an input field for notes to the...
Question 34: You are working on a custom web API endpoint and have config...
Question 35: A merchant has noticed an error in the checkout. The accesse...
Question 36: Which feature should a developer enable if a B2B buyer wants...
Question 37: A merchant asks you to extend customer functionality to allo...
Question 38: Which price type should be used if the developer wants to pr...
Question 39: How can a developer turn off all store view options and scop...
Question 40: You have created a module with a custom ACL resource and wan...
Question 41: What is a valid use case for an around plugin?...
Question 42: A merchant requires the ability to configure contact informa...
Question 43: Which type of product has the ability to have individual inv...
Question 44: A module you are developing requires the addition of new rou...
Question 45: How should a grid or form be included in an admin page layou...
Question 46: You have created a new block and will be adding this block o...
Question 47: A merchant tasks you to keep sales managers out of the syste...
Question 48: How do you add a foreign key to an existing table created by...
Question 49: A merchant sells products in Euro currency. The merchant wan...
Question 50: Where do you change the frontName for the admin router?...
Question 51: What is the length of the generated coupons if the developer...
Question 52: A developer needs to initialize the jQuery Ul widget for a s...
Question 53: The module MyCompany_MyModule will add a new page in the adm...
Question 54: How do you obtain customer information in a JavaScript modul...
Question 55: Which Adobe Commerce table stores all cron data?...
Question 56: You got a notification about error that occurred on a produc...
Question 57: Which entity in Magento supports scoped attributes?...
Question 58: You added a new constructor argument to an existing action c...
Question 59: You are tasked to install an extension to the merchant's Mag...
Question 60: A developer needs to add additional validation that would be...