You are here

public function TypeProcessorInterface::initImportedEntity in Content Synchronizer 8

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

Init the $propertyId value in the entity to import.

Parameters

\Drupal\Core\Entity\Entity $entityToImport: The entity to import.

string $propertyId: THe property id.

array $data: The data to import.

1 method overrides TypeProcessorInterface::initImportedEntity()
TypeProcessorBase::initImportedEntity in src/Processors/Type/TypeProcessorBase.php
Init the $propertyId value in the entity to import.

File

src/Processors/Type/TypeProcessorInterface.php, line 35

Class

TypeProcessorInterface
The type processor interface.

Namespace

Drupal\content_synchronizer\Processors\Type

Code

public function initImportedEntity(Entity $entityToImport, $propertyId, array $data);