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