public function ExportEntityWriter::getExpotedDataTypeFilePath in Content Synchronizer 8.2
Same name and namespace in other branches
- 8 src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::getExpotedDataTypeFilePath()
- 3.x src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::getExpotedDataTypeFilePath()
Return the file path of the type of the entity.
2 calls to ExportEntityWriter::getExpotedDataTypeFilePath()
- ExportEntityWriter::getExportedData in src/
Processors/ ExportEntityWriter.php - Get the entity Type data already exported.
- ExportEntityWriter::write in src/
Processors/ ExportEntityWriter.php - Write the document to export.
File
- src/
Processors/ ExportEntityWriter.php, line 139
Class
- ExportEntityWriter
- Export entity writer.
Namespace
Drupal\content_synchronizer\ProcessorsCode
public function getExpotedDataTypeFilePath(EntityInterface $entity) {
return $this
->getDirPath() . '/' . $entity
->getEntityTypeId() . self::TYPE_EXTENSION;
}