Skip to content
Snippets Groups Projects

Resolve #3287288 "Automated drupal 10"

1 unresolved thread
14 files
+ 45
27
Compare changes
  • Side-by-side
  • Inline
Files
14
@@ -107,6 +107,7 @@ class EntityStateManager {
$swapped_entities = $entity_storage->loadMultipleRevisions($revision_ids);
return array_reduce($swapped_entities, function (array $carry, RevisionableInterface $entity) use ($entities, $account) {
$entity_id = $entity->id();
/** @var \Drupal\Core\Entity\RevisionableInterface $old_entity */
$old_entity = current(
array_filter($entities, function (EntityInterface $e) use ($entity_id) {
return $e->id() === $entity_id;
Loading