List of questions
Related questions
Question 13 - AD0-E716 discussion
An Adobe Commerce developer has installed a module from a third-party vendor. This module fires a custom event named third_party_event_after and also defines an observer named third_party_event_after_observer that listens to that event. The developer wants to listen to this custom event in their own module but wants to execute their observer's logic after the third_party_event_after_observer observer has finished executing.
What would the developer do to ensure their observer runs after the observer defined by the third-party module?
A.
Ensure the third-party module is listed in the <sequence> node of the developer's module.xmi file.
B.
Set the sort order of the new observer to be less than that of the third-party vendor's observer.
C.
This is not possible as observers listening to the same event may be invoked in any order.
Your answer:
0 comments
Sorted by
Leave a comment first