public function UserEmailVerification::getSkipRoles in User email verification 8
Return role names which shouldn't have Email verification.
Return value
array Role names to skip.
Overrides UserEmailVerificationInterface::getSkipRoles
3 calls to UserEmailVerification::getSkipRoles()
- UserEmailVerification::createVerification in src/
UserEmailVerification.php - Create user email verification item.
- UserEmailVerification::getVerificationUidsFor in src/
UserEmailVerification.php - Return list of user IDs related to requested reason and interval pair.
- UserEmailVerification::isVerificationNeeded in src/
UserEmailVerification.php - Checks: Is email verification needed for a requested user.
File
- src/
UserEmailVerification.php, line 164
Class
- UserEmailVerification
- User email verification helper service.
Namespace
Drupal\user_email_verificationCode
public function getSkipRoles() {
return $this->config
->get('skip_roles');
}