You are here

public function ModerationInformationInterface::getAffectedRevisionTranslation in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/src/ModerationInformationInterface.php \Drupal\content_moderation\ModerationInformationInterface::getAffectedRevisionTranslation()
  2. 9 core/modules/content_moderation/src/ModerationInformationInterface.php \Drupal\content_moderation\ModerationInformationInterface::getAffectedRevisionTranslation()

Returns the revision translation affected translation of a revision.

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity: The content entity.

Return value

\Drupal\Core\Entity\ContentEntityInterface The revision translation affected translation.

File

core/modules/content_moderation/src/ModerationInformationInterface.php, line 84

Class

ModerationInformationInterface
Interface for moderation_information service.

Namespace

Drupal\content_moderation

Code

public function getAffectedRevisionTranslation(ContentEntityInterface $entity);