public function PaymentMethodConfigurationBase::setMessageText in Payment 8.2
Sets payer message text.
Parameters
string $text:
Return value
\Drupal\payment\Plugin\Payment\Method\PaymentMethodInterface
1 call to PaymentMethodConfigurationBase::setMessageText()
- PaymentMethodConfigurationBase::submitConfigurationForm in src/
Plugin/ Payment/ MethodConfiguration/ PaymentMethodConfigurationBase.php - Form submission handler.
File
- src/
Plugin/ Payment/ MethodConfiguration/ PaymentMethodConfigurationBase.php, line 97
Class
- PaymentMethodConfigurationBase
- Provides a base payment method configuration plugin.
Namespace
Drupal\payment\Plugin\Payment\MethodConfigurationCode
public function setMessageText($text) {
$this->configuration['message_text'] = $text;
return $this;
}