Magento 2 Certification Questions List | Do something before entity saves

You need to make some modifications to an entity before it is saved to the database. Your tool of choice is a plugin. What are requirements for a plugin? (choose 3)

Answer:
  • The plugin method must begin with the type of the plugin
  • The plugin class must be specified in di.xml
  • The targeted method or class must not be marked final
Prepear for Magento 2 certefication with our interactive quiz