You are here

public function RemoteIdFieldItemListInterface::setByProvider in Commerce Core 8.2

Sets the remote ID for the given provider.

Parameters

string $provider: The provider.

string $remote_id: The remote ID.

File

src/Plugin/Field/FieldType/RemoteIdFieldItemListInterface.php, line 31

Class

RemoteIdFieldItemListInterface
Defines the interface for the 'commerce_remote_id' field item list class.

Namespace

Drupal\commerce\Plugin\Field\FieldType

Code

public function setByProvider($provider, $remote_id);