You are here

public function PaymentForm::setFieldName in Payment 8.2

Sets the name of the field the payment was made for.

Parameters

string $field_name:

Return value

$this

File

modules/payment_form/src/Plugin/Payment/Type/PaymentForm.php, line 161

Class

PaymentForm
The payment form field payment type.

Namespace

Drupal\payment_form\Plugin\Payment\Type

Code

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