public function Basic::setCaptureStatusId in Payment 8.2
Sets the status to set on payment capture.
Parameters
string $status: The plugin ID of the payment status to set.
Return value
$this
1 call to Basic::setCaptureStatusId()
- Basic::submitConfigurationForm in src/
Plugin/ Payment/ MethodConfiguration/ Basic.php - Form submission handler.
File
- src/
Plugin/ Payment/ MethodConfiguration/ Basic.php, line 129
Class
- Basic
- Provides the configuration for the payment_basic payment method plugin.
Namespace
Drupal\payment\Plugin\Payment\MethodConfigurationCode
public function setCaptureStatusId($status) {
$this->configuration['capture_status_id'] = $status;
return $this;
}