comparison core/lib/Drupal/Component/Utility/EmailValidatorInterface.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
1 <?php
2
3 namespace Drupal\Component\Utility;
4
5 /**
6 * Validates email addresses.
7 */
8 interface EmailValidatorInterface {
9
10 /**
11 * Validates an email address.
12 *
13 * @param string $email
14 * A string containing an email address.
15 *
16 * @return bool
17 * TRUE if the address is valid.
18 */
19 public function isValid($email);
20
21 }