You are here

public function ExportEntityWriter::getExportedData in Content Synchronizer 8.2

Same name and namespace in other branches
  1. 8 src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::getExportedData()
  2. 3.x src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::getExportedData()

Get the entity Type data already exported.

Parameters

string $entityType: The entityType.

Return value

mixed The data.

1 call to ExportEntityWriter::getExportedData()
ExportEntityWriter::write in src/Processors/ExportEntityWriter.php
Write the document to export.

File

src/Processors/ExportEntityWriter.php, line 99

Class

ExportEntityWriter
Export entity writer.

Namespace

Drupal\content_synchronizer\Processors

Code

public function getExportedData($entityType) {
  $path = $this
    ->getExpotedDataTypeFilePath($entityType);
  return $this
    ->getDataFromFile($path);
}