From 31301fa2ad3e4e7c36be2d5e869a40ba510b1fe1 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Mon, 13 Feb 2023 13:01:18 +0000 Subject: [PATCH] Issue #3225395 by Anul, joachim: Repeated entity type labels in entity_test module --- .../modules/entity_test/src/Entity/EntityTestFieldMethods.php | 2 +- .../modules/entity_test/src/Entity/EntityTestMulChanged.php | 2 +- .../entity_test/src/Entity/EntityTestMulDefaultValue.php | 2 +- .../tests/modules/entity_test/src/Entity/EntityTestMulRev.php | 2 +- .../modules/entity_test/src/Entity/EntityTestMulRevChanged.php | 2 +- core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php index faacc0742975..9ae215794b3a 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestFieldMethods.php @@ -10,7 +10,7 @@ * * @ContentEntityType( * id = "entity_test_field_methods", - * label = @Translation("Test entity - data table"), + * label = @Translation("Test entity - field methods and data table"), * handlers = { * "view_builder" = "Drupal\entity_test\EntityTestViewBuilder", * "access" = "Drupal\entity_test\EntityTestAccessControlHandler", diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php index 4c2fd40b04ab..1ced7141aa28 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulChanged.php @@ -12,7 +12,7 @@ * * @ContentEntityType( * id = "entity_test_mul_changed", - * label = @Translation("Test entity - data table"), + * label = @Translation("Test entity - multiple changed and data table"), * handlers = { * "view_builder" = "Drupal\entity_test\EntityTestViewBuilder", * "access" = "Drupal\entity_test\EntityTestAccessControlHandler", diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulDefaultValue.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulDefaultValue.php index 743f3c0bd873..35336749dbcc 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulDefaultValue.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulDefaultValue.php @@ -10,7 +10,7 @@ * * @ContentEntityType( * id = "entity_test_mul_default_value", - * label = @Translation("Test entity - data table"), + * label = @Translation("Test entity - multiple default value and data table"), * handlers = { * "view_builder" = "Drupal\entity_test\EntityTestViewBuilder", * "access" = "Drupal\entity_test\EntityTestAccessControlHandler", diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRev.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRev.php index 905b57ff8e80..0d4bb4acb5cb 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRev.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRev.php @@ -10,7 +10,7 @@ * * @ContentEntityType( * id = "entity_test_mulrev", - * label = @Translation("Test entity - revisions and data table"), + * label = @Translation("Test entity - mul revisions and data table"), * handlers = { * "view_builder" = "Drupal\entity_test\EntityTestViewBuilder", * "access" = "Drupal\entity_test\EntityTestAccessControlHandler", diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevChanged.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevChanged.php index 6f85124c8c8c..7a83e04d777e 100644 --- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevChanged.php +++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestMulRevChanged.php @@ -10,7 +10,7 @@ * * @ContentEntityType( * id = "entity_test_mulrev_changed", - * label = @Translation("Test entity - revisions and data table"), + * label = @Translation("Test entity - mul changed revisions and data table"), * handlers = { * "view_builder" = "Drupal\entity_test\EntityTestViewBuilder", * "access" = "Drupal\entity_test\EntityTestAccessControlHandler", diff --git a/core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php b/core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php index 21d511e729f4..eca3a681aa02 100644 --- a/core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php +++ b/core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php @@ -35,7 +35,7 @@ public function testGetDerivativeDefinitions() { ]); $this->assertEquals([ 'type' => 'entity_test_mul_changed', - 'label' => 'Save test entity - data table', + 'label' => 'Save test entity - multiple changed and data table', 'action_label' => 'Save', ], $definitions['entity_test_mul_changed']); } -- GitLab