You are here

public function JsonapiHelper::setRemote in Entity Share 8

Same name and namespace in other branches
  1. 8.2 modules/entity_share_client/src/Service/JsonapiHelper.php \Drupal\entity_share_client\Service\JsonapiHelper::setRemote()

Set the remote to get content from.

Parameters

\Drupal\entity_share_client\Entity\RemoteInterface $remote: The remote website to get content from.

Overrides JsonapiHelperInterface::setRemote

File

modules/entity_share_client/src/Service/JsonapiHelper.php, line 310

Class

JsonapiHelper
Class JsonapiHelper.

Namespace

Drupal\entity_share_client\Service

Code

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