You are here

function Provision_Config_Example::write in Hosting 7.4

Same name and namespace in other branches
  1. 7.3 example/example_service/drush/Provision/Config/Example.php \Provision_Config_Example::write()

Override the write method.

File

example/example_service/drush/Provision/Config/Example.php, line 28

Class

Provision_Config_Example
A basic configuration file class.

Code

function write() {
  parent::write();

  // Sync the config to a remote server if necessary.
  $this->data['server']
    ->sync($this
    ->filename());
}