protected function PaymentMethodBase::doExecutePaymentAccess in Payment 8.2
Performs a payment method-specific access check for payment execution.
Parameters
\Drupal\Core\Session\AccountInterface $account:
Return value
\Drupal\Core\Access\AccessResultInterface
File
- src/
Plugin/ Payment/ Method/ PaymentMethodBase.php, line 221
Class
- PaymentMethodBase
- A base payment method plugin.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
protected function doExecutePaymentAccess(AccountInterface $account) {
return AccessResult::allowed();
}