You are here

protected function EntityReference_SelectionHandler_Generic::__construct in Entity reference 7

File

plugins/selection/EntityReference_SelectionHandler_Generic.class.php, line 31

Class

EntityReference_SelectionHandler_Generic
A generic Entity handler.

Code

protected function __construct($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
  $this->field = $field;
  $this->instance = $instance;
  $this->entity_type = $entity_type;
  $this->entity = $entity;
}