You are here

public function RuntimeImportContext::addImportedEntity in Entity Share 8.3

Register that an entity translation has been imported.

Parameters

string $langcode: The language code of the translation.

string $entity_uuid: The entity UUID.

File

modules/entity_share_client/src/RuntimeImportContext.php, line 341

Class

RuntimeImportContext
Class RuntimeImportContext.

Namespace

Drupal\entity_share_client

Code

public function addImportedEntity($langcode, $entity_uuid) {
  $this->importedEntities[$langcode][$entity_uuid] = $entity_uuid;
}