public function Basic::setCapture in Payment 8.2
Sets whether or not capture is supported.
Parameters
bool $capture: Whether or not to support capture.
Return value
$this
1 call to Basic::setCapture()
- Basic::submitConfigurationForm in src/
Plugin/ Payment/ MethodConfiguration/ Basic.php - Form submission handler.
File
- src/
Plugin/ Payment/ MethodConfiguration/ Basic.php, line 153
Class
- Basic
- Provides the configuration for the payment_basic payment method plugin.
Namespace
Drupal\payment\Plugin\Payment\MethodConfigurationCode
public function setCapture($capture) {
$this->configuration['capture'] = $capture;
return $this;
}