You are here

public function ExportEntityWriter::getDirPath in Content Synchronizer 3.x

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

Return the directory path.

4 calls to ExportEntityWriter::getDirPath()
ExportEntityWriter::addRootEntity in src/Processors/ExportEntityWriter.php
Add the entity to the exported root entities list.
ExportEntityWriter::archiveFiles in src/Processors/ExportEntityWriter.php
Zip the generated files.
ExportEntityWriter::getArchivePath in src/Processors/ExportEntityWriter.php
Return the archive path.
ExportEntityWriter::getExpotedDataTypeFilePath in src/Processors/ExportEntityWriter.php
Return the file path of the type of the entity.

File

src/Processors/ExportEntityWriter.php, line 78

Class

ExportEntityWriter
Export entity writer.

Namespace

Drupal\content_synchronizer\Processors

Code

public function getDirPath() {
  return static::getGeneratorDir() . 'export/' . $this->id;
}