You are here

public function Transaction::getTypeId in Transaction 8

Returns the transaction type ID.

Return value

string The transaction type.

Overrides TransactionInterface::getTypeId

1 call to Transaction::getTypeId()
Transaction::urlRouteParameters in src/Entity/Transaction.php
Gets an array of placeholders for this entity.

File

src/Entity/Transaction.php, line 434

Class

Transaction
Provides the transaction content entity.

Namespace

Drupal\transaction\Entity

Code

public function getTypeId() {
  return $this
    ->get('type')
    ->getString();
}