You are here

public function PaymentExecuteAccess::getAccount in Payment 8.2

Gets the account for which to check access.

Return value

\Drupal\Core\Session\AccountInterface

File

src/Event/PaymentExecuteAccess.php, line 90

Class

PaymentExecuteAccess
Provides an event that is dispatched when access is checked for payment execution.

Namespace

Drupal\payment\Event

Code

public function getAccount() {
  return $this->account;
}