Skip to content

setup:upgrade runs install() of <module>/Setup/InstallData.php inside a disabled module #2622

@bh-ref

Description

@bh-ref

If I am developing a module and run php bin/magento module:status afterwards, I can see it is on the List of disabled modules as it should be. But when I run now php bin/magento setup:upgrade, the install() method inside my /Setup/InstallData.php is run and the module is enabled automatically.

Is this the desired behavior of php bin/magento setup:upgrade?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions