You are here

public function EntityProcessorInterface::getDataToExport in Content Synchronizer 8

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

Return the data to export.

Get the array of data to export in array format : [ "property_1"=>[ "value1", "value2"] "property_2"=>[ "value1"] ].

Parameters

\Drupal\Core\Entity\Entity $entityToExport: The entity to export.

Return value

array The entity data to export.

1 method overrides EntityProcessorInterface::getDataToExport()
EntityProcessorBase::getDataToExport in src/Processors/Entity/EntityProcessorBase.php
Return the data to export.

File

src/Processors/Entity/EntityProcessorInterface.php, line 28

Class

EntityProcessorInterface
The Entity processor interface.

Namespace

Drupal\content_synchronizer\Processors\Entity

Code

public function getDataToExport(Entity $entityToExport);