You are here

public function ExportProcessor::exportEntity in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Processors/ExportProcessor.php \Drupal\content_synchronizer\Processors\ExportProcessor::exportEntity()
  2. 3.x src/Processors/ExportProcessor.php \Drupal\content_synchronizer\Processors\ExportProcessor::exportEntity()

Export the entity.

Parameters

\Drupal\Core\Entity\Entity $entity: THe entity to export.

File

src/Processors/ExportProcessor.php, line 64

Class

ExportProcessor
Export Processor.

Namespace

Drupal\content_synchronizer\Processors

Code

public function exportEntity(Entity $entity) {
  $this
    ->exportEntitiesList([
    $entity,
  ]);
}