You are here

public function PhoneNumberSettings::setVerificationMessage in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 src/Entity/PhoneNumberSettings.php \Drupal\sms\Entity\PhoneNumberSettings::setVerificationMessage()
  2. 2.x src/Entity/PhoneNumberSettings.php \Drupal\sms\Entity\PhoneNumberSettings::setVerificationMessage()

Sets the message template to send for phone number verification.

Parameters

string $message: Message template to send for phone number verification.

Return value

$this Return phone number settings for chaining.

Overrides PhoneNumberSettingsInterface::setVerificationMessage

File

src/Entity/PhoneNumberSettings.php, line 159

Class

PhoneNumberSettings
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function setVerificationMessage($message) {
  $this->verification_message = $message;
  return $this;
}