1<?php 2 3namespace Drupal\Core\TypedData\Plugin\DataType; 4 5use Drupal\Core\TypedData\Type\StringInterface; 6 7/** 8 * The Email data type. 9 * 10 * The plain value of Email is the email address represented as PHP string. 11 * 12 * @DataType( 13 * id = "email", 14 * label = @Translation("Email"), 15 * constraints = {"Email" = {}} 16 * ) 17 */ 18class Email extends StringData implements StringInterface { 19 20} 21