diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php b/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php index 53b38b1..0a62d4f 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php @@ -199,7 +199,7 @@ public function preRender($result) { } else { // Prepare the render arrays for all rows. - $this->build = $view_builder->viewMultiple($entities, $this->options['view_mode'], current($langcode)); + $this->build = $view_builder->viewMultiple($entities, $this->options['view_mode'], current($langcodes)); } }