You are here

Email.php in Zircon Profile 8

File

core/lib/Drupal/Core/TypedData/Plugin/DataType/Email.php
View source
<?php

/**
 * @file
 * Contains \Drupal\Core\TypedData\Plugin\DataType\Email.
 */
namespace Drupal\Core\TypedData\Plugin\DataType;

use Drupal\Core\TypedData\Type\StringInterface;

/**
 * The Email data type.
 *
 * The plain value of Email is the email address represented as PHP string.
 *
 * @DataType(
 *   id = "email",
 *   label = @Translation("Email"),
 *   constraints = {"Email" = {}}
 * )
 */
class Email extends StringData implements StringInterface {

}

Classes

Namesort descending Description
Email The Email data type.