public function Transaction::getOperation in Transaction 8
Gets the transaction operation.
Return value
\Drupal\transaction\TransactionOperationInterface The transaction operation for this transaction. NULL if not set.
Overrides TransactionInterface::getOperation
File
- src/
Entity/ Transaction.php, line 441
Class
- Transaction
- Provides the transaction content entity.
Namespace
Drupal\transaction\EntityCode
public function getOperation() {
return $this
->get('operation')->entity;
}