You are here

public function EntityParserInterface::prepareRemoteEntity in Entity Share 8.3

Prepares entity loaded from remote by JSON:API.

Parameters

array $remote_data: JSON:API data of a single entity.

\Drupal\entity_share_client\Entity\RemoteInterface $remote: Entity share Remote config entity.

1 method overrides EntityParserInterface::prepareRemoteEntity()
EntityParser::prepareRemoteEntity in modules/entity_share_diff/src/Service/EntityParser.php
Prepares entity loaded from remote by JSON:API.

File

modules/entity_share_diff/src/Service/EntityParserInterface.php, line 31

Class

EntityParserInterface
Entity parser interface methods.

Namespace

Drupal\entity_share_diff\Service

Code

public function prepareRemoteEntity(array $remote_data, RemoteInterface $remote);