public function PhoneNumberVerification::setPhoneNumber in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/Entity/PhoneNumberVerification.php \Drupal\sms\Entity\PhoneNumberVerification::setPhoneNumber()
- 2.1.x src/Entity/PhoneNumberVerification.php \Drupal\sms\Entity\PhoneNumberVerification::setPhoneNumber()
Sets the phone number for the phone number verification.
Parameters
string $phone_number: The phone number for the phone number verification.
Return value
$this Return phone number verification for chaining.
Overrides PhoneNumberVerificationInterface::setPhoneNumber
File
- src/
Entity/ PhoneNumberVerification.php, line 75
Class
- PhoneNumberVerification
- Defines the phone number verification entity.
Namespace
Drupal\sms\EntityCode
public function setPhoneNumber($phone_number) {
$this
->set('phone', $phone_number);
return $this;
}