You are here

public function TransactionType::getPluginId in Transaction 8

Gets the transactor plugin ID for this transaction type.

Return value

string The transactor plugin ID.

Overrides TransactionTypeInterface::getPluginId

2 calls to TransactionType::getPluginId()
TransactionType::getPlugin in src/Entity/TransactionType.php
Gets the transactor plugin for this transaction type.
TransactionType::urlRouteParameters in src/Entity/TransactionType.php
Gets an array of placeholders for this entity.

File

src/Entity/TransactionType.php, line 161

Class

TransactionType
Provides a type of transaction.

Namespace

Drupal\transaction\Entity

Code

public function getPluginId() {
  return isset($this->transactor['id']) ? $this->transactor['id'] : NULL;
}