You are here

public function UserEmailVerification::isExtendedPeriodEnabled in User email verification 8

Checks is extended period enabled or no.

Return value

bool Is extended period enabled or no.

Overrides UserEmailVerificationInterface::isExtendedPeriodEnabled

2 calls to UserEmailVerification::isExtendedPeriodEnabled()
UserEmailVerification::blockUserAccountById in src/UserEmailVerification.php
Blocks user account by ID.
UserEmailVerification::cronHandler in src/UserEmailVerification.php
Handle cron related tasks.

File

src/UserEmailVerification.php, line 206

Class

UserEmailVerification
User email verification helper service.

Namespace

Drupal\user_email_verification

Code

public function isExtendedPeriodEnabled() {
  return (bool) $this->config
    ->get('extended_enable');
}