diff --git a/core/modules/views/src/Plugin/views/field/Field.php b/core/modules/views/src/Plugin/views/field/Field.php index 6fb5603..5e31e3e 100644 --- a/core/modules/views/src/Plugin/views/field/Field.php +++ b/core/modules/views/src/Plugin/views/field/Field.php @@ -810,7 +810,12 @@ public function getItems(ResultRow $values) { // allows us to ensure that grouped by values, especially with multiple // cardinality works, see // \Drupal\views\Tests\QueryGroupByTest::testGroupByFieldWithCardinality - $build_list = $this->processEntity($values, $this->getEntity($values))->{$this->definition['field_name']}->view(); + $display = [ + 'type' => $this->options['type'], + 'settings' => $this->options['settings'], + 'label' => 'hidden', + ]; + $build_list = $this->processEntity($values, $this->getEntity($values))->{$this->definition['field_name']}->view($display); } if (!$build_list) { diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_revision_test.yml.orig b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_revision_complex_test.yml similarity index 100% rename from core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_revision_test.yml.orig rename to core/modules/views/tests/modules/views_test_config/test_views/views.view.test_field_field_revision_complex_test.yml