Magic getter: Gets the translated property.
File
- drupal/core/lib/Drupal/Core/Entity/Field/Type/EntityTranslation.php, line 166
- 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 __get($name) {
return $this
->get($name);
}