You are here

public function SmsEntityPhoneNumber::getRequiresVerification in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 src/Event/SmsEntityPhoneNumber.php \Drupal\sms\Event\SmsEntityPhoneNumber::getRequiresVerification()
  2. 2.1.x src/Event/SmsEntityPhoneNumber.php \Drupal\sms\Event\SmsEntityPhoneNumber::getRequiresVerification()

Get phone numbers with this verification state.

Return value

bool|null Whether the returned phone numbers must be verified, or NULL to get all phone numbers regardless of status.

File

src/Event/SmsEntityPhoneNumber.php, line 71

Class

SmsEntityPhoneNumber
Event fired when resolving phone numbers for an entity.

Namespace

Drupal\sms\Event

Code

public function getRequiresVerification() {
  return $this->verified;
}