Commit 8886b4d2 authored by catch's avatar catch
Browse files

Issue #2920005 by shashikant_chauhan, Janec, davemckain, dinarcon: Add Change...

Issue #2920005 by shashikant_chauhan, Janec, davemckain, dinarcon: Add Change record to @deprecated for email-validator service
parent 72c6aff0
......@@ -177,6 +177,8 @@ function drupal_get_destination() {
*
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0.
* Use \Drupal::service('email.validator')->isValid().
*
* @see https://www.drupal.org/node/2912661
*/
function valid_email_address($mail) {
return \Drupal::service('email.validator')->isValid($mail);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment