public function PaymentForm::setDestinationUrl in Payment 8.2
Sets the URL the user should be redirected to upon resuming the context.
Parameters
string $url: The destination URL.
Return value
$this
File
- modules/
payment_form/ src/ Plugin/ Payment/ Type/ PaymentForm.php, line 184
Class
- PaymentForm
- The payment form field payment type.
Namespace
Drupal\payment_form\Plugin\Payment\TypeCode
public function setDestinationUrl($url) {
$this->configuration['destination_url'] = $url;
return $this;
}