public function PaymentForm::setBundle in Payment 8.2
Sets the bundle of the entity the payment was made for.
Parameters
string $bundle:
Return value
$this
File
- modules/
payment_form/ src/ Plugin/ Payment/ Type/ PaymentForm.php, line 139
Class
- PaymentForm
- The payment form field payment type.
Namespace
Drupal\payment_form\Plugin\Payment\TypeCode
public function setBundle($bundle) {
$this->configuration['bundle'] = $bundle;
return $this;
}