You are here

public function PhoneNumberSettings::getPurgeVerificationPhoneNumber in SMS Framework 8

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

Whether phone numbers are purged when verifications expire.

Determines if phone number field values are removed when phone number verifications expire.

Return value

bool Whether to remove phone number field values

Overrides PhoneNumberSettingsInterface::getPurgeVerificationPhoneNumber

File

src/Entity/PhoneNumberSettings.php, line 170

Class

PhoneNumberSettings
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function getPurgeVerificationPhoneNumber() {
  return $this->purge_verification_phone_number;
}