class EntityTestLabelCallback

Test entity class.

Plugin annotation


@ContentEntityType(
  id = "entity_test_label_callback",
  label = @Translation("Entity test label callback"),
  persistent_cache = FALSE,
  base_table = "entity_test_label_callback",
  label_callback = "entity_test_label_callback",
  entity_keys = {
    "id" = "id",
    "bundle" = "type",
    "uuid" = "uuid",
    "langcode" = "langcode",
  }
)

Hierarchy

Expanded class hierarchy of EntityTestLabelCallback

File

core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabelCallback.php, line 22

Namespace

Drupal\entity_test\Entity
View source
class EntityTestLabelCallback extends EntityTest {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.