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

Breadcrumb

  1. Drupal Core 11.1.x
  2. MultipleValidationWithAnd.php

function MultipleValidationWithAnd::shouldStop

1 call to MultipleValidationWithAnd::shouldStop()
MultipleValidationWithAnd::isValid in vendor/egulias/email-validator/src/Validation/MultipleValidationWithAnd.php
Returns true if the given email is valid.

File

vendor/egulias/email-validator/src/Validation/MultipleValidationWithAnd.php, line 85

Class

MultipleValidationWithAnd

Namespace

Egulias\EmailValidator\Validation

Code

private function shouldStop(bool $result) : bool {
    return !$result && $this->mode === self::STOP_ON_ERROR;
}

API Navigation

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