You are here

protected function PaymentStatusForm::currentUser in Payment 8.2

Gets the current user.

Return value

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

Overrides FormBase::currentUser

File

src/Entity/Payment/PaymentStatusForm.php, line 89

Class

PaymentStatusForm
Provides the payment status update form.

Namespace

Drupal\payment\Entity\Payment

Code

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