function drush_devel_reinstall in Devel 8.2
Same name and namespace in other branches
- 8.3 drush/devel.drush8.inc \drush_devel_reinstall()
- 8 drush/devel.drush8.inc \drush_devel_reinstall()
- 6 devel.drush.inc \drush_devel_reinstall()
- 7 devel.drush.inc \drush_devel_reinstall()
A command callback. This is faster than 3 separate bootstraps.
File
- drush/
devel.drush8.inc, line 113 - This file is only used by Drush8.
Code
function drush_devel_reinstall() {
$projects = func_get_args();
$args = array_merge([
'pm-uninstall',
], $projects);
call_user_func_array('drush_invoke', $args);
$args = array_merge([
'pm-enable',
], $projects);
call_user_func_array('drush_invoke', $args);
}