Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Revert configuration in Drupal 8 with Drush (without using Features)
drush cim -y --partial --source=modules/path/to/module/config/install/
@mikecrittenden

This comment has been minimized.

Copy link
Owner Author

mikecrittenden commented Sep 15, 2016

Note that the drush cim --partial command is very specific to Drush. It is not using any core CMI api to do this; it’s essentially just pulling the files in the directory and pushing them into the active config storage via the Storage API. Features Revert in D8 uses the ConfigRevert service that is part of the config_update module which is possibly a cleaner solution that could make it into core eventually.

- @mpotter (Features maintainer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.