You are here

public function EntityDefaultRulesController::__construct in Entity API 7

File

./entity.rules.inc, line 19
Provides Rules integration for entities provided via the CRUD API.

Class

EntityDefaultRulesController
Default controller for generating Rules integration.

Code

public function __construct($type) {
  $this->type = $type;
  $this->info = entity_get_info($type);
}