public function EntityTranslation::getValue

Overrides \Drupal\Core\TypedData\TypedData::getValue().

Overrides TypedData::getValue

1 call to EntityTranslation::getValue()

File

drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php, line 67
Contains \Drupal\Core\Entity\Type\EntityTranslation.

Class

EntityTranslation
Allows accessing and updating translated entity fields.

Namespace

Drupal\Core\Entity\Field\Type

Code

public function getValue() {

  // The plain value of the translation is the array of translated field
  // objects.
  return $this->fields;
}