You are here

public function EntityClass::__construct in Entity API 7

Overrides Entity::__construct

1 method overrides EntityClass::__construct()
EntityClassRevision::__construct in tests/entity_test.module

File

tests/entity_test.module, line 134
Test module for the entity API.

Class

EntityClass
Main class for test entities.

Code

public function __construct(array $values = array(), $entityType = NULL) {
  parent::__construct($values, 'entity_test');
}