Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
19.63 KB
MD5: 622726d57013913c36824b55a64f68e1
SHA-1: 31d0ae456341c409bccc04fb7ecdccc7fa9180dd
SHA-256: 4df7579d7cd1d0a601370f102fdd0266f5b560ed3d9680302e7261976fe480e1
Download zip
32.16 KB
MD5: 647ae0ee616945644d797fc89f185cfe
SHA-1: e47be60d57283eb29cd40b579f4802f308c5b956
SHA-256: 1858037555e6fb7e409118afeb731436a01db3a4f21baf12d0f4717c1a1fffcf
Release notes
Adds the new validation service API ahead of 3.0 and deprecates the old methods, so you can migrate now. No configuration or behaviour changes for site builders.
Changes for developers
- New service method
validateEmail()returns anEmailValidationResult(outcome and message). It replaces the two older methods and is forward-compatible with 3.0. validate()anderrorMessageFromCode()are deprecated and will be removed in 3.0.0. Move tovalidateEmail().
Also
- Fixed an intermittent test failure caused by comparing a random string against rendered markup.
Contributors (2)
Changelog
Issues: 1 issues resolved.
Changes since 1.2.1 (compare):
Feature
- task: #3534056 Deprecate internals to support downstream changes
Misc
- Fix flaky test: use randomMachineName() for error-message assertions