You are here

public function PaymentForm::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_form/src/Plugin/Payment/Type/PaymentForm.php, line 117

Class

PaymentForm
The payment form field payment type.

Namespace

Drupal\payment_form\Plugin\Payment\Type

Code

public function setEntityTypeId($entity_type_id) {
  $this->configuration['entity_type_id'] = $entity_type_id;
  return $this;
}