public function Transaction::getType in Transaction 8
Returns the transaction type.
Return value
\Drupal\transaction\TransactionTypeInterface The transaction type.
Overrides TransactionInterface::getType
File
- src/
Entity/ Transaction.php, line 427
Class
- Transaction
- Provides the transaction content entity.
Namespace
Drupal\transaction\EntityCode
public function getType() {
return $this
->get('type')->entity;
}