You are here

protected function PaymentTestNoResponse::doRefundPaymentAccess in Payment 8.2

Performs a payment method-specific access check for payment refunds.

Parameters

\Drupal\Core\Session\AccountInterface $account:

Return value

bool

Overrides PaymentMethodBase::doRefundPaymentAccess

File

modules/payment_test/src/Plugin/Payment/Method/PaymentTestNoResponse.php, line 61

Class

PaymentTestNoResponse
A testing payment method.

Namespace

Drupal\payment_test\Plugin\Payment\Method

Code

protected function doRefundPaymentAccess(AccountInterface $account) {
  return FALSE;
}