You are here

public function EntityClassRevision::__construct in Entity API 7

Overrides EntityClass::__construct

File

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

Class

EntityClassRevision
Main class for test entities (with revision support).

Code

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