Skip to content
Snippets Groups Projects

Issue #3412698: Automated Drupal 10 compatibility fixes

Closed Cesar Morua requested to merge issue/diff-3412698:3412698-automated-drupal-10 into 8.x-1.x
4 files
+ 4
3
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -131,7 +131,7 @@ class PluginRevisionController extends ControllerBase {
// Filter revisions of current translation and where the translation is
// affected.
foreach ($this->getRevisionIds($storage, $entity->id()) as $revision_id) {
/** @var \Drupal\Core\Entity\ContentEntityInterface $revision */
/** @var \Drupal\Core\Entity\RevisionableStorageInterface $storage */
$revision = $storage->loadRevision($revision_id);
if ($revision->hasTranslation($langcode) && $revision->getTranslation($langcode)->isRevisionTranslationAffected()) {
$revisions_ids[] = $revision_id;
Loading