You are here

public function PhoneNumberSettings::getVerificationCodeLifetime in SMS Framework 2.x

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

Gets the number of seconds before phone number verifications expire.

Return value

int Number of seconds before phone number verifications expire.

Overrides PhoneNumberSettingsInterface::getVerificationCodeLifetime

File

src/Entity/PhoneNumberSettings.php, line 167

Class

PhoneNumberSettings
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

public function getVerificationCodeLifetime() {
  return $this->verification_code_lifetime;
}