public function Basic::getCapture in Payment 8.2
Same name in this branch
- 8.2 src/Plugin/Payment/MethodConfiguration/Basic.php \Drupal\payment\Plugin\Payment\MethodConfiguration\Basic::getCapture()
- 8.2 src/Plugin/Payment/Method/Basic.php \Drupal\payment\Plugin\Payment\Method\Basic::getCapture()
Gets whether or not capture is supported.
Parameters
bool: Whether or not to support capture.
1 call to Basic::getCapture()
- Basic::doCapturePaymentAccess in src/
Plugin/ Payment/ Method/ Basic.php - Performs a payment method-specific access check for payment capture.
File
- src/
Plugin/ Payment/ Method/ Basic.php, line 121
Class
- Basic
- A basic payment method that does not transfer money.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
public function getCapture() {
return $this->pluginDefinition['capture'];
}