Definition of Drupal\entity_test\Plugin\Core\Entity\EntityTestMulRev.
<?php /** * @file * Definition of Drupal\entity_test\Plugin\Core\Entity\EntityTestMulRev. */ namespace Drupal\entity_test\Plugin\Core\Entity; use Drupal\entity_test\Plugin\Core\Entity\EntityTestRev; use Drupal\Core\Entity\Annotation\EntityType; use Drupal\Core\Annotation\Translation; /** * Defines the test entity class. * * @EntityType( * id = "entity_test_mulrev", * label = @Translation("Test entity - revisions and data table"), * module = "entity_test", * controllers = { * "storage" = "Drupal\entity_test\EntityTestMulRevStorageController", * "access" = "Drupal\entity_test\EntityTestAccessController", * "form" = { * "default" = "Drupal\entity_test\EntityTestFormController" * }, * "translation" = "Drupal\translation_entity\EntityTranslationControllerNG" * }, * base_table = "entity_test_mulrev", * data_table = "entity_test_mulrev_property_data", * revision_table = "entity_test_mulrev_property_revision", * fieldable = TRUE, * translatable = TRUE, * entity_keys = { * "id" = "id", * "uuid" = "uuid", * "revision" = "revision_id", * "bundle" = "type" * }, * menu_base_path = "entity_test_mulrev/manage/%entity_test_mulrev" * ) */ class EntityTestMulRev extends EntityTestRev { }