What must the devel...
 
Notifications
Clear all

What must the developer do to accomplish this?

1 Posts
1 Users
0 Likes
263 Views
(@woodliffrueben)
Posts: 735
Noble Member
Topic starter
 

An Adobe Commerce architect is creating a module (Vendor_ModuleName) to be sold on the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.

What must the developer do to accomplish this?

  • A . Add a schema patch that implements
    Mogento\Framework\Setup\Patch\PatchRevertableInterface and drops the table in the revert function.
    B. There is nothing further the developer needs to do. The table will be removed when the when   bin/magento module:uninstall Vendor_ModuleName is run.
    C. There is nothing further the developer needs to do. The table will be removed when the module is disabled and bin/Magento setup: upgrade is run.

Show Answer Hide Answer

Suggested Answer: C
 
Posted : 10/02/2023 6:06 pm
Topic Tags

Latest Adobe AD0-E704 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: