You are here

public function Basic::getRefund in Payment 8.2

Same name in this branch
  1. 8.2 src/Plugin/Payment/MethodConfiguration/Basic.php \Drupal\payment\Plugin\Payment\MethodConfiguration\Basic::getRefund()
  2. 8.2 src/Plugin/Payment/Method/Basic.php \Drupal\payment\Plugin\Payment\Method\Basic::getRefund()

Gets whether or not refunds are supported.

Parameters

bool: Whether or not to support refunds.

1 call to Basic::getRefund()
Basic::processBuildConfigurationForm in src/Plugin/Payment/MethodConfiguration/Basic.php
Implements a form API #process callback.

File

src/Plugin/Payment/MethodConfiguration/Basic.php, line 213

Class

Basic
Provides the configuration for the payment_basic payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\MethodConfiguration

Code

public function getRefund() {
  return $this->configuration['refund'];
}