public function PhoneNumberSettingsInterface::setVerificationCodeLifetime in SMS Framework 2.x
Same name and namespace in other branches
- 8 src/Entity/PhoneNumberSettingsInterface.php \Drupal\sms\Entity\PhoneNumberSettingsInterface::setVerificationCodeLifetime()
- 2.1.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\EntityCode
public function setVerificationCodeLifetime($lifetime);