public function TranslatableInterface::isNewTranslation in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isNewTranslation()
- 10 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isNewTranslation()
Checks whether the translation is new.
Return value
bool TRUE if the translation is new, FALSE otherwise.
1 method overrides TranslatableInterface::isNewTranslation()
- ContentEntityBase::isNewTranslation in core/
lib/ Drupal/ Core/ Entity/ ContentEntityBase.php - Checks whether the translation is new.
File
- core/
lib/ Drupal/ Core/ TypedData/ TranslatableInterface.php, line 47
Class
- TranslatableInterface
- Interface for translatable data.
Namespace
Drupal\Core\TypedDataCode
public function isNewTranslation();