You are here

public function ImportServiceInterface::importEntities in Entity Share 8.3

Import a list of entities.

50 Max.

Plugin annotation

@SuppressWarnings(PHPMD . BooleanArgumentFlag);

Parameters

\Drupal\entity_share_client\ImportContext $context: The import context.

array $uuids: The list of UUID's to import.

bool $is_batched: Whether to import using batch API.

Return value

array|void The list of entity IDs imported keyed by UUIDs, if not batched. If batched, the method doesn't return.

1 method overrides ImportServiceInterface::importEntities()
ImportService::importEntities in modules/entity_share_client/src/Service/ImportService.php
Plugin annotation @SuppressWarnings(PHPMD . BooleanArgumentFlag);

File

modules/entity_share_client/src/Service/ImportServiceInterface.php, line 32

Class

ImportServiceInterface
Import service interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function importEntities(ImportContext $context, array $uuids, bool $is_batched = TRUE);