Magento 2 Certification Questions List | How to prevent event handling in 3rd party module

You are customizing a third-party module and need to prevent an event handler from triggering.

Keeping upgradeability in mind, how do you do this?

Answer:
  • Create an observer in observer.xml with the same name and specify the disabled="true" attribute.
Prepear for Magento 2 certefication with our interactive quiz