public function ModerationInformationInterface::getAffectedRevisionTranslation in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/ModerationInformationInterface.php \Drupal\content_moderation\ModerationInformationInterface::getAffectedRevisionTranslation()
- 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_moderationCode
public function getAffectedRevisionTranslation(ContentEntityInterface $entity);