protected function PaymentTestNoResponse::doCapturePaymentAccess in Payment 8.2
Performs a payment method-specific access check for payment capture.
Parameters
\Drupal\Core\Session\AccountInterface $account:
Return value
bool
Overrides PaymentMethodBase::doCapturePaymentAccess
File
- modules/
payment_test/ src/ Plugin/ Payment/ Method/ PaymentTestNoResponse.php, line 48
Class
- PaymentTestNoResponse
- A testing payment method.
Namespace
Drupal\payment_test\Plugin\Payment\MethodCode
protected function doCapturePaymentAccess(AccountInterface $account) {
return FALSE;
}