Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / modules / contrib / entity / tests / modules / entity_module_bundle_plugin_test / src / Entity / EntityTestBundlePlugin.php
diff --git a/web/modules/contrib/entity/tests/modules/entity_module_bundle_plugin_test/src/Entity/EntityTestBundlePlugin.php b/web/modules/contrib/entity/tests/modules/entity_module_bundle_plugin_test/src/Entity/EntityTestBundlePlugin.php
new file mode 100644 (file)
index 0000000..1c75a47
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+namespace Drupal\entity_module_bundle_plugin_test\Entity;
+
+use Drupal\Core\Entity\ContentEntityBase;
+
+/**
+ * Defines the 'entity_test_bundle_plugin' entity class.
+ *
+ * @ContentEntityType(
+ *   id = "entity_test_bundle_plugin",
+ *   label = @Translation("Entity test bundle plugin"),
+ *   bundle_label = @Translation("Bundle Plugin Test"),
+ *   bundle_plugin_type = "bundle_plugin_test",
+ *   base_table = "entity_test_bundle_plugin",
+ *   admin_permission = "administer content",
+ *   fieldable = TRUE,
+ *   entity_keys = {
+ *     "id" = "method_id",
+ *     "uuid" = "uuid",
+ *     "bundle" = "type"
+ *   },
+ * )
+ */
+class EntityTestBundlePlugin extends ContentEntityBase {
+
+}