diff --git a/core/lib/Drupal/Core/Entity/ContentEntityBase.php b/core/lib/Drupal/Core/Entity/ContentEntityBase.php index 99cbd86671..eece7134b1 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php @@ -422,7 +422,12 @@ public function setRevisionTranslationAffectedEnforced($enforced) { } /** - * {@inheritdoc} + * Overrides isDefaultTranslation() result. + * + * @param bool|null $is_default_translation + * If boolean value is passed, the value will override the result of + * isDefaultTranslation() method. If NULL is passed, the default logic will + * be used for determining the result. */ public function setIsDefaultTranslation(bool $is_default_translation = NULL) { $this->isDefaultTranslation = $is_default_translation; diff --git a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php index 988df1f4ec..7aa0cb1973 100644 --- a/core/lib/Drupal/Core/TypedData/TranslatableInterface.php +++ b/core/lib/Drupal/Core/TypedData/TranslatableInterface.php @@ -30,18 +30,6 @@ interface TranslatableInterface { */ public function language(); - /** - * Overrides isDefaultTranslation() result. - * - * @param bool|null $is_default_translation - * If boolean value is passed, the value will override the result of - * isDefaultTranslation() method. If NULL is passed, the default logic will - * be used for determining the result. - * - * @internal - */ - public function setIsDefaultTranslation(bool $is_default_translation = NULL); - /** * Checks whether the translation is the default one. *