public ContentEntityBase::getUntranslated()
Returns the translatable object referring to the original language.
Return value
$this The translation object referring to the original language.
Overrides TranslatableInterface::getUntranslated
File
- core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 754
Class
- ContentEntityBase
- Implements Entity Field API specific enhancements to the Entity class.
Namespace
Drupal\Core\Entity
Code
1 2 3 | public function getUntranslated() { return $this ->getTranslation(LanguageInterface::LANGCODE_DEFAULT); } |
Please login to continue.