EmailValidatorInterface.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Component\UtilityFile
core/lib/Drupal/Component/Utility/EmailValidatorInterface.phpView source
<?php
namespace Drupal\Component\Utility;
/**
* Validates email addresses.
*/
interface EmailValidatorInterface {
/**
* Validates an email address.
*
* @param string $email
* A string containing an email address.
*
* @return bool
* TRUE if the address is valid.
*/
public function isValid($email);
}
Interfaces
Name | Description |
---|---|
EmailValidatorInterface | Validates email addresses. |