You are here

function Environment::file_save_data in Realistic Dummy Content 8

Save the file data to the real or test environment.

Parameters

$data: The data

$destination: Where to put

Throws

\Exception

File

api/src/environments/Environment.php, line 109
Define autoload class.

Class

Environment
The abstract base environment.

Namespace

Drupal\realistic_dummy_content_api\environments

Code

function file_save_data($data, $destination = NULL) {
  $return = $this
    ->_file_save_data_($data, $destination);
  return $return;
}