Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This issue is for adding the "drush features-revert" command. It will be called features-import in 8.x (the fr alias will be maintained).
We will use the config_update module to handle the actual reverting.
Comments
Comment #2
mpotter CreditAttribution: mpotter commentedCommitted to 87be9cc.
This was pretty straightforward. But a couple of notes:
TO DO
Still to-do is to handle *new* config that isn't in the active store yet. The current call to config_update revert assumes the config is already in the active store. Need to call the config_update import function for new config.
Comment #4
mpotter CreditAttribution: mpotter commentedCommit db9cfd2 changes this to use the newer patch (#5) in #2455897: Need to allow setting a custom ExtensionInstallStorage
Comment #5
mpotter CreditAttribution: mpotter commentedCommit 1ca87b1 changes this to use patch #10 in #2455897: Need to allow setting a custom ExtensionInstallStorage which looks like the one to be applied.
Comment #7
mpotter CreditAttribution: mpotter commented