public function FileProcessor::getDataToExport in Content Synchronizer 8
Same name and namespace in other branches
- 8.2 src/Plugin/content_synchronizer/entity_processor/FileProcessor.php \Drupal\content_synchronizer\Plugin\content_synchronizer\entity_processor\FileProcessor::getDataToExport()
- 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_processorCode
public function getDataToExport(Entity $entityToExport) {
$this
->addFileToAssets($entityToExport);
return parent::getDataToExport($entityToExport);
}