Skip to content
Snippets Groups Projects

Issue #3004705 by toiletfinder.com, oleh.tarasiuk, simbaw, Kevin W,...

1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -238,6 +238,7 @@ class RevisionOverviewForm extends FormBase {
/** @var \Drupal\Core\Entity\ContentEntityInterface $revision */
if ($revision = $node_storage->loadRevision($vid)) {
if ($revision->hasTranslation($langcode) && $revision->getTranslation($langcode)->isRevisionTranslationAffected()) {
$revision = $revision->getTranslation($langcode);
$username = [
'#theme' => 'username',
'#account' => $revision->getRevisionUser(),
Loading