final class UserRegistrationPassword in User registration password 8
Same name in this branch
- 8 src/UserRegistrationPassword.php \Drupal\user_registrationpassword\UserRegistrationPassword
- 8 tests/src/Functional/UserRegistrationPassword.php \Drupal\Tests\user_registrationpassword\Functional\UserRegistrationPassword
Provides a class defining registration constants.
Hierarchy
- class \Drupal\user_registrationpassword\UserRegistrationPassword
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.
File
- src/
UserRegistrationPassword.php, line 8
Namespace
Drupal\user_registrationpasswordView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
UserRegistrationPassword:: |
constant | No verification email is sent. | ||
UserRegistrationPassword:: |
constant | Verification email is sent before password is set. | ||
UserRegistrationPassword:: |
constant | Verification email is sent after password is set. |