function TranslatableInterface::isDefaultTranslation

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isDefaultTranslation()
  2. 10 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isDefaultTranslation()
  3. 11.x core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isDefaultTranslation()

Checks whether the translation is the default one.

Return value

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

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.