public function Transaction::setExecutionTime in Transaction 8
Sets the transaction execution timestamp.
Parameters
int $timestamp: The execution timestamp.
Return value
\Drupal\transaction\TransactionInterface The called transaction.
Overrides TransactionInterface::setExecutionTime
File
- src/
Entity/ Transaction.php, line 314
Class
- Transaction
- Provides the transaction content entity.
Namespace
Drupal\transaction\EntityCode
public function setExecutionTime($timestamp) {
$this
->set('executed', $timestamp);
return $this;
}