Last active
May 24, 2017 12:56
-
-
Save heddn/20f917b49d27bb2208b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush ev '\Drupal::entityManager()->getStorage("migration")->load("foo")->delete();' |
How about this
/**
- Implements hook_uninstall().
*/
function hook_uninstall() {
// Delete remaining general module variables.
Drupal::configFactory()->getEditable('variable_you_want_todelete')->delete();
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@heddn, Do you have an example on how to do this without Drush ?