1 entity_test.entity.inc public TestEntity::entityType()
1 field_test.class.inc public TestEntity::entityType()

Implements EntityInterface::entityType().

Overrides EntityInterface::entityType

File

core/modules/entity/tests/entity_test/entity_test.entity.inc, line 23
Test entity classes.

Class

TestEntity
Test class for the test_entity entity type.

Code

public function entityType() {
  return 'entity_test';
}