You are here

public function PhoneNumberSettingsInterface::setVerificationCodeLifetime in SMS Framework 2.1.x

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

Sets the number of seconds before phone number verifications expire.

Parameters

int $lifetime: Number of seconds before phone number verifications expire.

Return value

$this Return phone number settings for chaining.

1 method overrides PhoneNumberSettingsInterface::setVerificationCodeLifetime()
PhoneNumberSettings::setVerificationCodeLifetime in src/Entity/PhoneNumberSettings.php
Sets the number of seconds before phone number verifications expire.

File

src/Entity/PhoneNumberSettingsInterface.php, line 88

Class

PhoneNumberSettingsInterface
Interface for SMS Gateway configuration entity.

Namespace

Drupal\sms\Entity

Code

public function setVerificationCodeLifetime($lifetime);