You are here

public function RemoteMapping::getAmount in Translation Management Tool 8

Returns the amount.

Return value

int Returns an integer.

Overrides RemoteMappingInterface::getAmount

File

src/Entity/RemoteMapping.php, line 123

Class

RemoteMapping
Entity class for the tmgmt_remote entity.

Namespace

Drupal\tmgmt\Entity

Code

public function getAmount() {
  return $this
    ->get('amount')->value;
}