You are here

public function TranslatableInterface::isDefaultTranslation in Drupal 8

Same name and namespace in other branches
  1. 9 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.

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();