You are here

public function RemoteMapping::getCurrency in Translation Management Tool 8

Returns the currency.

Return value

int Returns an integer.

Overrides RemoteMappingInterface::getCurrency

File

src/Entity/RemoteMapping.php, line 130

Class

RemoteMapping
Entity class for the tmgmt_remote entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getCurrency() {
  return $this
    ->get('currency')->value;
}