public function PaymentStatusForm::setCurrentUser in Payment 8.2
Sets the current user.
Parameters
\Drupal\Core\Session\AccountInterface $current_user: The current user.
File
- src/
Entity/ Payment/ PaymentStatusForm.php, line 82
Class
- PaymentStatusForm
- Provides the payment status update form.
Namespace
Drupal\payment\Entity\PaymentCode
public function setCurrentUser(AccountInterface $current_user) {
$this->currentUser = $current_user;
}