You are here

public function UserEmailVerification::getReminderInterval in User email verification 8

Return reminder interval (in seconds).

Return value

int Reminder interval (in seconds).

Overrides UserEmailVerificationInterface::getReminderInterval

1 call to UserEmailVerification::getReminderInterval()
UserEmailVerification::cronHandler in src/UserEmailVerification.php
Handle cron related tasks.

File

src/UserEmailVerification.php, line 157

Class

UserEmailVerification
User email verification helper service.

Namespace

Drupal\user_email_verification

Code

public function getReminderInterval() {
  return (int) ceil($this
    ->getValidateInterval() / ($this
    ->getNumReminders() + 1));
}