view core/lib/Drupal/Component/Utility/EmailValidatorInterface.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents
children
line wrap: on
line 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);

}