Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

EmailValidatorInterface.php

Namespace

Drupal\Component\Utility

File

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.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal