You are here

public function ImportEntity::getArchiveFilesPath in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getArchiveFilesPath()
  2. 3.x src/Entity/ImportEntity.php \Drupal\content_synchronizer\Entity\ImportEntity::getArchiveFilesPath()

Return the working directory path.

Return value

string THe archive files path.

5 calls to ImportEntity::getArchiveFilesPath()
ImportEntity::getDataFromEntityTypeFile in src/Entity/ImportEntity.php
Return the data from the entity type data file.
ImportEntity::getRootsEntities in src/Entity/ImportEntity.php
Return the entities to import list.
ImportEntity::removeArchive in src/Entity/ImportEntity.php
Remove unzipped archive.
ImportEntity::setGidStatus in src/Entity/ImportEntity.php
Set the status of the entity.
ImportEntity::unzipArchive in src/Entity/ImportEntity.php
Unzip archive file.

File

src/Entity/ImportEntity.php, line 350

Class

ImportEntity
Defines the Import entity.

Namespace

Drupal\content_synchronizer\Entity

Code

public function getArchiveFilesPath() {
  return ExportEntityWriter::GENERATOR_DIR . 'import/' . $this
    ->id();
}