You are here

public function ModerationInformationInterface::getAffectedRevisionTranslation in Drupal 9

Same name and namespace in other branches
  1. 8 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.

1 method overrides ModerationInformationInterface::getAffectedRevisionTranslation()
ModerationInformation::getAffectedRevisionTranslation in core/modules/content_moderation/src/ModerationInformation.php
Returns the revision translation affected translation of a revision.

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);