You are here

public function TranslatableInterface::isDefaultTranslation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 29
Contains \Drupal\Core\TypedData\TranslatableInterface.

Class

TranslatableInterface
Interface for translatable data.

Namespace

Drupal\Core\TypedData

Code

public function isDefaultTranslation();