public function ExportEntityWriter::getExportedData in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::getExportedData()
- 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 95
Class
- ExportEntityWriter
- Export entity writer.
Namespace
Drupal\content_synchronizer\ProcessorsCode
public function getExportedData($entityType) {
$path = $this
->getExpotedDataTypeFilePath($entityType);
return $this
->getDataFromFile($path);
}