You are here

public function UserEmailVerification::getNumReminders in User email verification 8

Return quantity of reminders which should be used.

Return value

int Reminders quantity.

Overrides UserEmailVerificationInterface::getNumReminders

2 calls to UserEmailVerification::getNumReminders()
UserEmailVerification::getReminderInterval in src/UserEmailVerification.php
Return reminder interval (in seconds).
UserEmailVerification::getVerificationUidsFor in src/UserEmailVerification.php
Return list of user IDs related to requested reason and interval pair.

File

src/UserEmailVerification.php, line 150

Class

UserEmailVerification
User email verification helper service.

Namespace

Drupal\user_email_verification

Code

public function getNumReminders() {
  return (int) $this->config
    ->get('num_reminders');
}