You are here

public function FileProcessor::getDataToExport 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::getDataToExport()
  2. 3.x src/Plugin/content_synchronizer/entity_processor/FileProcessor.php \Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor\FileProcessor::getDataToExport()

Return the data to export.

Overrides EntityProcessorBase::getDataToExport

File

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

Class

FileProcessor
Plugin implementation of the 'accordion' formatter.

Namespace

Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor

Code

public function getDataToExport(Entity $entityToExport) {
  $this
    ->addFileToAssets($entityToExport);
  return parent::getDataToExport($entityToExport);
}