Adobe Commerce Developer Professional AD0-E724 Question # 40 Topic 2 Discussion

Adobe Commerce Developer Professional AD0-E724 Question # 40 Topic 2 Discussion

AD0-E724 Exam Topic 2 Question 40 Discussion:
Question #: 40
Topic #: 2

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 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.


Get Premium AD0-E724 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.