Question 21

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_afterand others.
How do you do that?
  • Question 22

    A module you are developing requires the addition of new routes that should be accessible in the store front.
    Where do you define your module's frontName?
  • Question 23

    You have added a new attribute origin of the type varchar to the product entity.
    Which two calls will filter a product collection with origin set to "California"? (Choose two.)
  • Question 24

    You are writing a customization for the customer module. You need to make sure the configuration files from your module are loaded after the customer module's configuration.
    Where should the dependency be declared?
  • Question 25

    How do you obtain customer information in a JavaScript module?