Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / system / tests / modules / entity_test_revlog / src / Entity / EntityTestMulWithRevisionLog.php
index 5a17b858dc1f0bfc444d52b87617acf5a49e8181..cb9c7bbc0c7f58a90a327f340f59231632349df0 100644 (file)
@@ -5,6 +5,9 @@ namespace Drupal\entity_test_revlog\Entity;
 /**
  * Defines the test entity class.
  *
+ * This entity type does not define revision_metadata_keys on purpose to test
+ * the BC layer.
+ *
  * @ContentEntityType(
  *   id = "entity_test_mul_revlog",
  *   label = @Translation("Test entity - data table, revisions log"),
@@ -21,11 +24,6 @@ namespace Drupal\entity_test_revlog\Entity;
  *     "label" = "name",
  *     "langcode" = "langcode",
  *   },
- *   revision_metadata_keys = {
- *     "revision_user" = "revision_user",
- *     "revision_created" = "revision_created",
- *     "revision_log_message" = "revision_log_message"
- *   },
  * )
  */
 class EntityTestMulWithRevisionLog extends EntityTestWithRevisionLog {