type == 'site') { drush_set_option('force', true, 'process'); drush_invoke('provision-backup', $backup_file); drush_unset_option('force', 'process'); d()->site_enabled = false; } } /** * Set the enabled property of the site to false */ function drush_provision_drupal_post_provision_disable() { if (d()->type == 'site') { d()->write_alias(); } }