public function ContentEntityBase::getUntranslated
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\EntityCode
public function getUntranslated() { return $this->getTranslation(LanguageInterface::LANGCODE_DEFAULT); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!ContentEntityBase.php/function/ContentEntityBase::getUntranslated/8.1.x