Drupal 10: Re-import Installed Module Configuration Using Drush

Use the config-import command with a specific source to import the configuration from a certain directory.

drush config-import --partial --source=modules/custom/migration_module/config/install --yes

This is especially useful when working with migrations and the migrate plus module as the configuration for this module is imported through the module configuration. The alternative to this is to uninstall and re-install the module.

Add new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
6 + 6 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.