public function EntityTranslation::getValue

Implements TypedDataInterface::getValue().

Overrides TypedData::getValue

1 call to EntityTranslation::getValue()
EntityTranslation::getPropertyValues in drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php
Implements ComplexDataInterface::getPropertyValues().

File

drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php, line 109
Definition of Drupal\Core\Entity\Type\EntityTranslation.

Class

EntityTranslation
Makes translated entity properties available via the Field API.

Namespace

Drupal\Core\Entity\Field\Type

Code

public function getValue() {

  // The value of the translation is the array of translated property objects.
  return $this->properties;
}