You are here

public function RemoteIdFieldItemListInterface::getByProvider in Commerce Core 8.2

Gets the remote ID for the given provider.

Parameters

string $provider: The provider.

Return value

string The remote ID if found, NULL otherwise.

File

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

Class

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

Namespace

Drupal\commerce\Plugin\Field\FieldType

Code

public function getByProvider($provider);