You are here

final class UserRegistrationPassword in User registration password 8

Same name in this branch
  1. 8 src/UserRegistrationPassword.php \Drupal\user_registrationpassword\UserRegistrationPassword
  2. 8 tests/src/Functional/UserRegistrationPassword.php \Drupal\Tests\user_registrationpassword\Functional\UserRegistrationPassword

Provides a class defining registration constants.

Hierarchy

Expanded class hierarchy of UserRegistrationPassword

6 files declare their use of UserRegistrationPassword
UserRegistrationPasswordAccountSettingFormTest.php in tests/src/Functional/UserRegistrationPasswordAccountSettingFormTest.php
UserRegistrationPasswordAdmin.php in tests/src/Functional/UserRegistrationPasswordAdmin.php
UserRegistrationPasswordAdminApproval.php in tests/src/Functional/UserRegistrationPasswordAdminApproval.php
UserRegistrationPasswordUserRegisterForm.php in ./UserRegistrationPasswordUserRegisterForm.php
user_registrationpassword.install in ./user_registrationpassword.install
Install file.

... See full list

File

src/UserRegistrationPassword.php, line 8

Namespace

Drupal\user_registrationpassword
View source
final class UserRegistrationPassword {

  /**
   * No verification email is sent.
   */
  const NO_VERIFICATION = 'none';

  /**
   * Verification email is sent before password is set.
   */
  const VERIFICATION_DEFAULT = 'default';

  /**
   * Verification email is sent after password is set.
   */
  const VERIFICATION_PASS = 'with-pass';

}

Members

Namesort descending Modifiers Type Description Overrides
UserRegistrationPassword::NO_VERIFICATION constant No verification email is sent.
UserRegistrationPassword::VERIFICATION_DEFAULT constant Verification email is sent before password is set.
UserRegistrationPassword::VERIFICATION_PASS constant Verification email is sent after password is set.