public function PaymentReference::setEntityTypeId in Payment 8.2
Sets the ID of the entity type the payment was made for.
Parameters
string $entity_type_id:
Return value
$this
File
- modules/
payment_reference/ src/ Plugin/ Payment/ Type/ PaymentReference.php, line 133
Class
- PaymentReference
- The payment reference field payment type.
Namespace
Drupal\payment_reference\Plugin\Payment\TypeCode
public function setEntityTypeId($entity_type_id) {
$this->configuration['entity_type_id'] = $entity_type_id;
return $this;
}