function EmailValidatorInterface::isValid
Same name in other branches
- 9 core/lib/Drupal/Component/Utility/EmailValidatorInterface.php \Drupal\Component\Utility\EmailValidatorInterface::isValid()
- 8.9.x core/lib/Drupal/Component/Utility/EmailValidatorInterface.php \Drupal\Component\Utility\EmailValidatorInterface::isValid()
- 11.x core/lib/Drupal/Component/Utility/EmailValidatorInterface.php \Drupal\Component\Utility\EmailValidatorInterface::isValid()
Validates an email address.
Parameters
string $email: A string containing an email address.
Return value
bool TRUE if the address is valid.
File
-
core/
lib/ Drupal/ Component/ Utility/ EmailValidatorInterface.php, line 19
Class
- EmailValidatorInterface
- Validates email addresses.
Namespace
Drupal\Component\UtilityCode
public function isValid($email);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.