public function TransactionInterface::setExecutor in Transaction 8
Sets the user that executed the transaction.
Parameters
\Drupal\User\UserInterface $user: The executor user.
Return value
\Drupal\transaction\TransactionInterface The called transaction.
1 method overrides TransactionInterface::setExecutor()
- Transaction::setExecutor in src/
Entity/ Transaction.php - Sets the user that executed the transaction.
File
- src/
TransactionInterface.php, line 360
Class
- TransactionInterface
- The interface for transaction entities.
Namespace
Drupal\transactionCode
public function setExecutor(UserInterface $user);