By Anonymous (not verified) on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.0.x
Introduced in version:
8.0.0-beta7
Description:
The valid_email_address() function is deprecated and replaced with equivalent functionality provided by the email.validator service. Code can be easily changed as follows:
Before
valid_email_address($mail)
After
\Drupal::service('email.validator')->isValid($mail)
Comments
next changes 8.7
There's interface for that since 8.7 https://www.drupal.org/node/2997196