You are here

public function PaymentMethodConfigurationBase::setMessageTextFormat in Payment 8.2

Sets payer message text format.

Parameters

string $format: The machine name of the text format the payer message is in.

Return value

\Drupal\payment\Plugin\Payment\Method\PaymentMethodInterface

1 call to PaymentMethodConfigurationBase::setMessageTextFormat()
PaymentMethodConfigurationBase::submitConfigurationForm in src/Plugin/Payment/MethodConfiguration/PaymentMethodConfigurationBase.php
Form submission handler.

File

src/Plugin/Payment/MethodConfiguration/PaymentMethodConfigurationBase.php, line 120

Class

PaymentMethodConfigurationBase
Provides a base payment method configuration plugin.

Namespace

Drupal\payment\Plugin\Payment\MethodConfiguration

Code

public function setMessageTextFormat($format) {
  $this->configuration['message_text_format'] = $format;
  return $this;
}