You are here

protected function PaymentForm::currentUser in Payment 8.2

Gets the current user.

Return value

\Drupal\Core\Session\AccountInterface The current user.

Overrides FormBase::currentUser

File

modules/payment_form/src/Entity/Payment/PaymentForm.php, line 92

Class

PaymentForm
Provides the payment form.

Namespace

Drupal\payment_form\Entity\Payment

Code

protected function currentUser() {
  return $this->currentUser;
}