function provision_save_platform_data

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

Save modified options to the drushrc.php file

Related topics

1 call to provision_save_platform_data()
provision_drupal_drush_exit in platform/provision_drupal.drush.inc
Finalize the platform / site

File

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

Code

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