You are here

public function ImportServiceInterface::prepareImport in Entity Share 8.3

Prepare runtime import context and import processors.

Originally this method is meant to be protected. But as Batch API can't pass complex objects in batch's context or as batch operation's argument, and instead of creating a dedicated method for that, it has been put as a public method.

Parameters

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

Return value

bool TRUE if the import information can be gathered.

1 method overrides ImportServiceInterface::prepareImport()
ImportService::prepareImport in modules/entity_share_client/src/Service/ImportService.php
Prepare runtime import context and import processors.

File

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

Class

ImportServiceInterface
Import service interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function prepareImport(ImportContext $context);