public function RealisticDummyContentEnvironment::fileSaveData in Realistic Dummy Content 3.x
Same name and namespace in other branches
- 8.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::fileSaveData()
- 7.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::fileSaveData()
Save the file data to the real or test environment.
Parameters
string $data: The data.
string $destination: Where to put it.
Return value
object The file object.
Throws
\Exception
File
- api/
src/ includes/ RealisticDummyContentEnvironment.php, line 106
Class
- RealisticDummyContentEnvironment
- The abstract base environment.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public function fileSaveData($data, $destination = NULL) {
$return = $this
->implementFileSaveData($data, $destination);
return $return;
}