Version 1
[yaffs-website] / web / core / lib / Drupal / Core / TypedData / Plugin / DataType / Email.php
1 <?php
2
3 namespace Drupal\Core\TypedData\Plugin\DataType;
4
5 use 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  */
18 class Email extends StringData implements StringInterface {
19
20 }