Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam AD0-E724 All Questions
Exam AD0-E724 All Questions

View all questions & answers for the AD0-E724 exam

Adobe Commerce AD0-E724 Question # 20 Topic 3 Discussion

AD0-E724 Exam Topic 3 Question 20 Discussion:
Question #: 20
Topic #: 3

An Adobe Commerce developer has created a module that adds a product attribute to all product types via a Data Patch-According to best practices, how would the developer ensure this product attribute is removed in the event that the module is uninstalled at a later date?


A.

Add an Uninstall.php file extending \l1agento\Framework\Setup\UninstallInterface tO the module's Setup directory and implement the uninstall

method.


B.

Add instructions to the module's README.md file instructing merchants and developers that they must manually remove this attribute if they want to uninstall the module.


C.

Make the Data Patch implement \Magento\Framework\setup\Patch\PatchRevertabieinterface and implement the revert method to remove theĀ® product attribute.


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.