In which file do you declare the observer?

A module MyModule needs to send notifications to customers only when the account was modified from a mobile app using the REST web APIs.

You decided to implement an observer for customer_save_after_data_object event.

In which file do you declare the observer?
A . etc/webapi_rest/events.xml
B . etc/adminhtml/events.xml
C . etc/webapi/rest_events.xml
D . etc/events.xml

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments