EmailValidatorInterface.php
Same filename in other branches
Namespace
Drupal\Component\UtilityFile
-
core/
lib/ Drupal/ Component/ Utility/ EmailValidatorInterface.php
View 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
Title | Deprecated | Summary |
---|---|---|
EmailValidatorInterface | Validates email addresses. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.