You are here

public function Basic::getCapture in Payment 8.2

Same name in this branch
  1. 8.2 src/Plugin/Payment/MethodConfiguration/Basic.php \Drupal\payment\Plugin\Payment\MethodConfiguration\Basic::getCapture()
  2. 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::processBuildConfigurationForm in src/Plugin/Payment/MethodConfiguration/Basic.php
Implements a form API #process callback.

File

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

Class

Basic
Provides the configuration for the payment_basic payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\MethodConfiguration

Code

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