You are here

public function PhoneNumberSettings::getVerificationCodeLifetime in SMS Framework 8

Same name and namespace in other branches
  1. 2.x 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 155

Class

PhoneNumberSettings
Defines storage for an SMS Gateway instance.

Namespace

Drupal\sms\Entity

Code

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