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

Returns the type of the entity.

Return value

The type of the entity.:

Overrides EntityInterface::entityType

File

core/modules/field/tests/field_test/field_test.class.inc, line 63

Class

TestEntity
Test class for the test_entity entity type.

Code

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