EntityTestLabelCallback.php in Zircon Profile 8
Same filename and directory in other branches
Namespace
Drupal\entity_test\EntityFile
core/modules/system/tests/modules/entity_test/src/Entity/EntityTestLabelCallback.phpView source
<?php
/**
* @file
* Contains \Drupal\entity_test\Entity\EntityTestLabelCallback.
*/
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 = "entity_test_label_callback",
* entity_keys = {
* "id" = "id",
* "bundle" = "type"
* }
* )
*/
class EntityTestLabelCallback extends EntityTest {
}
Classes
Name | Description |
---|---|
EntityTestLabelCallback | Test entity class. |