EntityTestLabelCallback.php
Namespace
Drupal\entity_test\EntityFile
-
core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestLabelCallback.php
View source
<?php
namespace Drupal\entity_test\Entity;
/**
* Test entity class.
*
* @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",
* }
* )
*/
class EntityTestLabelCallback extends EntityTest {
}
Classes
Title | Deprecated | Summary |
---|---|---|
EntityTestLabelCallback | Test entity class. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.