function TranslatableInterface::isDefaultTranslation

Checks whether the translation is the default one.

Return value

bool TRUE if the translation is the default one, FALSE otherwise.

1 method overrides TranslatableInterface::isDefaultTranslation()
ContentEntityBase::isDefaultTranslation in core/lib/Drupal/Core/Entity/ContentEntityBase.php
Checks whether the translation is the default one.

File

core/lib/Drupal/Core/TypedData/TranslatableInterface.php, line 39

Class

TranslatableInterface
Interface for translatable data.

Namespace

Drupal\Core\TypedData

Code

public function isDefaultTranslation();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.