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