Version 1
[yaffs-website] / web / core / modules / system / tests / modules / entity_test / src / Entity / EntityTestLabel.php
diff --git a/web/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabel.php b/web/core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabel.php
new file mode 100644 (file)
index 0000000..1b4597f
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+namespace Drupal\entity_test\Entity;
+
+/**
+ * Test entity class.
+ *
+ * @ContentEntityType(
+ *   id = "entity_test_label",
+ *   label = @Translation("Entity Test label"),
+ *   handlers = {
+ *     "access" = "Drupal\entity_test\EntityTestAccessControlHandler",
+ *     "view_builder" = "Drupal\entity_test\EntityTestViewBuilder"
+ *   },
+ *   base_table = "entity_test_label",
+ *   render_cache = FALSE,
+ *   entity_keys = {
+ *     "uuid" = "uuid",
+ *     "id" = "id",
+ *     "label" = "name",
+ *     "bundle" = "type",
+ *     "langcode" = "langcode",
+ *   }
+ * )
+ */
+class EntityTestLabel extends EntityTest {
+
+}