You are here

public function PhoneNumberSettingsInterface::setPurgeVerificationPhoneNumber in SMS Framework 8

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

1 method overrides PhoneNumberSettingsInterface::setPurgeVerificationPhoneNumber()
PhoneNumberSettings::setPurgeVerificationPhoneNumber in src/Entity/PhoneNumberSettings.php
Whether phone numbers should be purged when verifications expire.

File

src/Entity/PhoneNumberSettingsInterface.php, line 111

Class

PhoneNumberSettingsInterface
Interface for SMS Gateway configuration entity.

Namespace

Drupal\sms\Entity

Code

public function setPurgeVerificationPhoneNumber($purge);