public function EntityTranslation::setParent

Implements ContextAwareInterface::setParent().

Overrides ContextAwareInterface::setParent

File

drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php, line 103
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 setParent($parent) {
  $this->parent = $parent;
}