public function RemoteMapping::getRemoteData in Translation Management Tool 8
Gets data from remote_data storage.
Parameters
string $key: Access key for the data.
Return value
mixed Stored data.
Overrides RemoteMappingInterface::getRemoteData
File
- src/
Entity/ RemoteMapping.php, line 109
Class
- RemoteMapping
- Entity class for the tmgmt_remote entity.
Namespace
Drupal\tmgmt\EntityCode
public function getRemoteData($key) {
return $this->remote_data->{$key};
}