You are here

public function TransactionInterface::setResultCode in Transaction 8

Sets the execution result code.

Parameters

int $code: The result code.

Return value

\Drupal\transaction\TransactionInterface The called transaction.

See also

\Drupal\transaction\TransactionInterface::getResultCode()

1 method overrides TransactionInterface::setResultCode()
Transaction::setResultCode in src/Entity/Transaction.php
Sets the execution result code.

File

src/TransactionInterface.php, line 278

Class

TransactionInterface
The interface for transaction entities.

Namespace

Drupal\transaction

Code

public function setResultCode($code);