You are here

public function RemoteMapping::removeRemoteData in Translation Management Tool 8

Removes data from remote_data storage.

Parameters

string $key: Access key for the data that are to be removed.

Overrides RemoteMappingInterface::removeRemoteData

File

src/Entity/RemoteMapping.php, line 116

Class

RemoteMapping
Entity class for the tmgmt_remote entity.

Namespace

Drupal\tmgmt\Entity

Code

public function removeRemoteData($key) {
  unset($this->remote_data->{$key});
}