Email.php

Same filename in this branch
  1. 9 core/modules/field/src/Plugin/migrate/field/Email.php
  2. 9 core/lib/Drupal/Core/Render/Element/Email.php
Same filename in other branches
  1. 8.9.x core/modules/field/src/Plugin/migrate/field/Email.php
  2. 8.9.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Email.php
  3. 8.9.x core/lib/Drupal/Core/Render/Element/Email.php
  4. 8.9.x core/lib/Drupal/Core/Field/Plugin/migrate/field/Email.php
  5. 10 core/modules/field/src/Plugin/migrate/field/Email.php
  6. 10 core/lib/Drupal/Core/TypedData/Plugin/DataType/Email.php
  7. 10 core/lib/Drupal/Core/Render/Element/Email.php
  8. 11.x core/modules/field/src/Plugin/migrate/field/Email.php
  9. 11.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Email.php
  10. 11.x core/lib/Drupal/Core/Render/Element/Email.php

Namespace

Drupal\Core\TypedData\Plugin\DataType

File

core/lib/Drupal/Core/TypedData/Plugin/DataType/Email.php

View source
<?php

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

Title Deprecated Summary
Email The Email data type.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.