From cb2375049019920d92b9c3f510f89c8aa37e989e Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Mon, 12 Feb 2018 09:24:07 +0000
Subject: [PATCH] Issue #2943209 by gabesullice, amateescu, Wim Leers: Mark at
 least one entity_test entity type as 'internal'

---
 .../modules/entity_test/src/Entity/EntityTestNoLabel.php | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php
index fb69ccb34b14..809eb1b00192 100644
--- a/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php
+++ b/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestNoLabel.php
@@ -8,12 +8,17 @@
  * @ContentEntityType(
  *   id = "entity_test_no_label",
  *   label = @Translation("Entity Test without label"),
+ *   internal = TRUE,
  *   persistent_cache = FALSE,
  *   base_table = "entity_test_no_label",
+ *   handlers = {
+ *     "access" = "Drupal\entity_test\EntityTestAccessControlHandler",
+ *   },
  *   entity_keys = {
  *     "id" = "id",
- *     "bundle" = "type"
- *   }
+ *     "uuid" = "uuid",
+ *     "bundle" = "type",
+ *   },
  * )
  */
 class EntityTestNoLabel extends EntityTest {
-- 
GitLab