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

Implements EntityInterface::id().

Overrides EntityInterface::id

File

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

Class

TestEntity
Test class for the test_entity entity type.

Code

public function id() {
  return $this->id;
}