public function TranslatableInterface::isDefaultTranslation in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isDefaultTranslation()
- 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\TypedDataCode
public function isDefaultTranslation();