You are here

protected function FileProcessor::getImportAssetsDir in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/content_synchronizer/entity_processor/FileProcessor.php \Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor\FileProcessor::getImportAssetsDir()
  2. 3.x src/Plugin/content_synchronizer/entity_processor/FileProcessor.php \Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor\FileProcessor::getImportAssetsDir()

Return the import assets path.

1 call to FileProcessor::getImportAssetsDir()
FileProcessor::getEntityToImport in src/Plugin/content_synchronizer/entity_processor/FileProcessor.php
Return the entity to import.

File

src/Plugin/content_synchronizer/entity_processor/FileProcessor.php, line 64

Class

FileProcessor
Plugin implementation of the 'accordion' formatter.

Namespace

Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor

Code

protected function getImportAssetsDir() {
  if (!$this->importAssetsDirPath) {
    $this->importAssetsDirPath = ImportProcessor::getCurrentImportProcessor()
      ->getImport()
      ->getArchiveFilesPath() . '/' . self::DIR_ASSETS;
  }
  return $this->importAssetsDirPath;
}