X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FField%2FPlugin%2FField%2FFieldType%2FEmailItem.php;h=a6801fc229f5f4e4d5678387d096f9637a2b6eee;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=ca30ede268112ff41b2d766750c6d0169f697796;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php b/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php index ca30ede26..a6801fc22 100644 --- a/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php +++ b/web/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EmailItem.php @@ -59,7 +59,7 @@ class EmailItem extends FieldItemBase { 'Length' => [ 'max' => Email::EMAIL_MAX_LENGTH, 'maxMessage' => t('%name: the email address can not be longer than @max characters.', ['%name' => $this->getFieldDefinition()->getLabel(), '@max' => Email::EMAIL_MAX_LENGTH]), - ] + ], ], ]);