public function PaymentReference::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_reference/ src/ Plugin/ Payment/ Type/ PaymentReference.php, line 155
Class
- PaymentReference
- The payment reference field payment type.
Namespace
Drupal\payment_reference\Plugin\Payment\TypeCode
public function setBundle($bundle) {
$this->configuration['bundle'] = $bundle;
return $this;
}