You are here

public function EntityParser::setRemote in Entity Share 8.3

Sets Remote entity.

Parameters

\Drupal\entity_share_client\Entity\RemoteInterface|bool $remote: The ES Remote entity or FALSE.

2 calls to EntityParser::setRemote()
EntityParser::prepareLocalEntity in modules/entity_share_diff/src/Service/EntityParser.php
Prepares entity loaded from local database.
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/EntityParser.php, line 135

Class

EntityParser
Entity parser.

Namespace

Drupal\entity_share_diff\Service

Code

public function setRemote($remote) {
  $this->remote = $remote;
}