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()
- 10 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.
1 method overrides EmailValidatorInterface::isValid()
- EmailValidator::isValid in core/
lib/ Drupal/ Component/ Utility/ EmailValidator.php - Validates an email address.
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.