What will be the effect on the attribute?

You are working on a module MyCompany_MyModule which adds a select attribute with a few options using the MagentoEavSetupEavSetup: :addAttribute() method in data in data install script.

There is no uninstall script. While debugging, you have uninstalled the module with the command:

bin magento module:uninstall MyCompany_MyModule

Then you reinstalled the module.

What will be the effect on the attribute?
A . The attribute remains the same but the attribute options will be duplicated
B. The attribute is deleted and created again
C. The attribute is updated when attribute options differ
D. A duplicate attribute will be created with a different attribute code

Answer: A

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments