restore.provision.inc

  1. 7.x-3.x platform/restore.provision.inc
  2. 7.x-3.x db/restore.provision.inc
  3. 7.x-3.x http/restore.provision.inc

Functions

Namesort descending Description
drush_http_pre_provision_restore Implementation of hook_provision_pre_restore
drush_http_pre_provision_restore_rollback

File

http/restore.provision.inc
View source
  1. <?php
  2. /**
  3. * Implementation of hook_provision_pre_restore
  4. */
  5. function drush_http_pre_provision_restore() {
  6. d()->service('http')->delete_config('site');
  7. }
  8. function drush_http_pre_provision_restore_rollback() {
  9. d()->service('http')->create_config('site');
  10. d()->service('http')->parse_configs();
  11. }