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

Breadcrumb

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

function MessageIDParser::addLongEmailWarning

1 call to MessageIDParser::addLongEmailWarning()
MessageIDParser::parse in vendor/egulias/email-validator/src/MessageIDParser.php

File

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

Class

MessageIDParser

Namespace

Egulias\EmailValidator

Code

private function addLongEmailWarning(string $localPart, string $parsedDomainPart) : void {
    if (strlen($localPart . '@' . $parsedDomainPart) > self::EMAILID_MAX_LENGTH) {
        $this->warnings[EmailTooLong::CODE] = new EmailTooLong();
    }
}

API Navigation

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