You are here

public function StateInformationInterface::createImportStatusOfEntity in Entity Share 8.3

Creates a dedicated "Entity import status" entity for imported entity.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The entity being imported.

array $parameters: Other data from the import context, with valid keys:

  • remote_website.
  • channel_id.
  • policy.

Return value

\Drupal\entity_share_client\Entity\EntityImportStatusInterface|bool The newly created "Entity import status" entity or FALSE on failure.

1 method overrides StateInformationInterface::createImportStatusOfEntity()
StateInformation::createImportStatusOfEntity in modules/entity_share_client/src/Service/StateInformation.php
Creates a dedicated "Entity import status" entity for imported entity.

File

modules/entity_share_client/src/Service/StateInformationInterface.php, line 90

Class

StateInformationInterface
Remote manager interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function createImportStatusOfEntity(ContentEntityInterface $entity, array $parameters);