function provision_save_site_data

7.x-3.x provision.inc provision_save_site_data()

Related topics

5 calls to provision_save_site_data()
drush_provision_drupal_post_provision_import in platform/import.provision.inc
drush_provision_drupal_pre_provision_deploy in platform/deploy.provision.inc
Make a backup before making any changes, and add extract the file we are restoring from
drush_provision_drupal_pre_provision_deploy_rollback in platform/deploy.provision.inc
Remove the extracted site directory
drush_provision_drupal_provision_install in platform/install.provision.inc
Install Drupal with the pre-configured settings, by calling an external script
provision_drupal_drush_exit in platform/provision_drupal.drush.inc
Finalize the platform / site

File

./provision.inc, line 172
The provisioning framework API.

Code

function provision_save_site_data() {
  if (!drush_get_error()) {
    $config = new Provision_Config_Drushrc_Site(d()->name);
    $config->write();
    provision_drupal_push_site();
  }
}