public function RemoteMapping::addRemoteData

Adds data to the remote_data storage.

Parameters

string $key: Key through which the data will be accessible.

int $value: Value to store.

Overrides RemoteMappingInterface::addRemoteData

File

src/Entity/RemoteMapping.php, line 102

Class

RemoteMapping
Entity class for the tmgmt_remote entity.

Namespace

Drupal\tmgmt\Entity

Code

public function addRemoteData($key, $value) {
  $this->remote_data->{$key} = $value;
}