1.20.x entity_test.entity.inc | public TestEntity::label() |
1.20.x field_test.class.inc | TestEntity::label() |
Implements EntityInterface::label().
Overrides EntityInterface::label
File
- modules/
entity/ tests/ entity_test/ entity_test.entity.inc, line 30 - Test entity classes.
Class
- TestEntity
- Test class for the test_entity entity type.
Code
public function label() {
return 'label';
}