1 entity_example.inc public EntityExampleBasic::id()

Implements EntityInterface::id().

Overrides EntityInterface::id

File

modules/examples/entity_example/entity_example.inc, line 35

Class

EntityExampleBasic
EntityExampleBasic extends Entity.

Code

public function id() {
  return isset($this->basic_id) ? $this->basic_id : NULL;
}