You are here

public function PaymentMethodInterface::executePaymentAccess in Payment 8.2

Checks if the payment can be executed.

Parameters

\Drupal\Core\Session\AccountInterface $account:

Return value

\Drupal\Core\Access\AccessResultInterface

See also

self::executePayment

2 methods override PaymentMethodInterface::executePaymentAccess()
PaymentMethodBase::executePaymentAccess in src/Plugin/Payment/Method/PaymentMethodBase.php
Checks if the payment can be executed.
Unavailable::executePaymentAccess in src/Plugin/Payment/Method/Unavailable.php
Checks if the payment can be executed.

File

src/Plugin/Payment/Method/PaymentMethodInterface.php, line 43

Class

PaymentMethodInterface
Defines a payment method.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

public function executePaymentAccess(AccountInterface $account);