function Email::getCastedValue

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/TypedData/Plugin/DataType/Email.php \Drupal\Core\TypedData\Plugin\DataType\Email::getCastedValue()

Attributes

#[JsonSchema([ 'type' => 'string', 'format' => 'email', ])]

Overrides StringData::getCastedValue

File

core/lib/Drupal/Core/TypedData/Plugin/DataType/Email.php, line 25

Class

Email
The Email data type.

Namespace

Drupal\Core\TypedData\Plugin\DataType

Code

public function getCastedValue() {
  return parent::getCastedValue();
}

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