You are here

public function ExportEntityWriter::getDirPath in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Processors/ExportEntityWriter.php \Drupal\content_synchronizer\Processors\ExportEntityWriter::getDirPath()
  2. 3.x 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 52

Class

ExportEntityWriter
Export entity writer.

Namespace

Drupal\content_synchronizer\Processors

Code

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