public function TypeProcessorBase::initImportedEntity in Content Synchronizer 3.x
Same name and namespace in other branches
- 8.2 src/Processors/Type/TypeProcessorBase.php \Drupal\content_synchronizer\Processors\Type\TypeProcessorBase::initImportedEntity()
- 8 src/Processors/Type/TypeProcessorBase.php \Drupal\content_synchronizer\Processors\Type\TypeProcessorBase::initImportedEntity()
Init the $propertyId value in the entity to import.
Parameters
\Drupal\Core\Entity\EntityInterface $entityToImport: The entity to import.
string $propertyId: The property id.
array $data: The data to import.
Overrides TypeProcessorInterface::initImportedEntity
3 methods override TypeProcessorBase::initImportedEntity()
- EntityReferenceFieldItemListProcessor::initImportedEntity in src/
Plugin/ content_synchronizer/ type_processor/ EntityReferenceFieldItemListProcessor.php - Init the $propertyId value in the entity to import.
- FieldItemListProcessor::initImportedEntity in src/
Plugin/ content_synchronizer/ type_processor/ FieldItemListProcessor.php - Init the $propertyId value in the entity to import.
- FileFieldItemListProcessor::initImportedEntity in src/
Plugin/ content_synchronizer/ type_processor/ FileFieldItemListProcessor.php - Init the $propertyId value in the entity to import.
File
- src/
Processors/ Type/ TypeProcessorBase.php, line 66
Class
- TypeProcessorBase
- The type processor Base.
Namespace
Drupal\content_synchronizer\Processors\TypeCode
public function initImportedEntity(EntityInterface $entityToImport, $propertyId, array $data) {
}