public function EmailValidatorInterface::isValid in Drupal 9
Same name and namespace in other branches
- 8 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);