Created
March 26, 2015 00:56
-
-
Save crittermike/7b654d3d686a4e434eda to your computer and use it in GitHub Desktop.
Run a single specific Drupal update hook using Drush
This file contains hidden or 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 php-eval "module_load_install('MYMODULE'); MYMODULE_update_NUMBER();" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works for 7 and 8, see https://api.drupal.org/api/drupal/core%21includes%21module.inc/function/module_load_install/