diff --git a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php index 7aa0cb197317f4e0f42801a113b66b0715a9e3f6..1422d1339fe20b2cdbc4743102f476a1812a7a0f 100644 --- a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php +++ b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php @@ -69,7 +69,7 @@ public function getTranslationLanguages($include_default = TRUE); * LanguageInterface::LANGCODE_DEFAULT * to get the data in default language. * - * @return \Drupal\Core\Entity\ContentEntityInterface + * @return static * A typed data object for the translated data. * * @throws \InvalidArgumentException @@ -80,7 +80,7 @@ public function getTranslation($langcode); /** * Returns the translatable object in the language it was created. * - * @return \Drupal\Core\Entity\ContentEntityInterface + * @return static * The translation object referring to the original language. */ public function getUntranslated(); @@ -110,7 +110,7 @@ public function hasTranslation($langcode); * (optional) An array of initial values to be assigned to the translatable * fields. Defaults to none. * - * @return \Drupal\Core\Entity\ContentEntityInterface + * @return static * A new entity translation object. * * @throws \InvalidArgumentException