You are here

public function PhoneNumberVerificationInterface::setPhoneNumber in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 src/Entity/PhoneNumberVerificationInterface.php \Drupal\sms\Entity\PhoneNumberVerificationInterface::setPhoneNumber()
  2. 2.1.x src/Entity/PhoneNumberVerificationInterface.php \Drupal\sms\Entity\PhoneNumberVerificationInterface::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.

1 method overrides PhoneNumberVerificationInterface::setPhoneNumber()
PhoneNumberVerification::setPhoneNumber in src/Entity/PhoneNumberVerification.php
Sets the phone number for the phone number verification.

File

src/Entity/PhoneNumberVerificationInterface.php, line 59

Class

PhoneNumberVerificationInterface
Interface for phone number verification entity.

Namespace

Drupal\sms\Entity

Code

public function setPhoneNumber($phone_number);