function TranslatableInterface::isNewTranslation

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isNewTranslation()
  2. 8.9.x core/lib/Drupal/Core/TypedData/TranslatableInterface.php \Drupal\Core\TypedData\TranslatableInterface::isNewTranslation()
  3. 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.

File

core/lib/Drupal/Core/TypedData/TranslatableInterface.php, line 47

Class

TranslatableInterface
Interface for translatable data.

Namespace

Drupal\Core\TypedData

Code

public function isNewTranslation();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.