public function PhoneNumberSettings::setPurgeVerificationPhoneNumber in SMS Framework 2.1.x
Same name and namespace in other branches
- 8 src/Entity/PhoneNumberSettings.php \Drupal\sms\Entity\PhoneNumberSettings::setPurgeVerificationPhoneNumber()
- 2.x src/Entity/PhoneNumberSettings.php \Drupal\sms\Entity\PhoneNumberSettings::setPurgeVerificationPhoneNumber()
Whether phone numbers should be purged when verifications expire.
Sets if phone number field values are removed when phone number verifications expire.
Parameters
bool $purge: Whether to remove phone number field values.
Return value
$this Return phone number settings for chaining.
Overrides PhoneNumberSettingsInterface::setPurgeVerificationPhoneNumber
File
- src/
Entity/ PhoneNumberSettings.php, line 189
Class
- PhoneNumberSettings
- Defines storage for an SMS Gateway instance.
Namespace
Drupal\sms\EntityCode
public function setPurgeVerificationPhoneNumber($purge) {
$this->purge_verification_phone_number = $purge;
return $this;
}