1 EntityReferenceSelectionHandlerGeneric.inc protected EntityReferenceSelectionHandlerGeneric::__construct($field, $instance = NULL, $entity_type = NULL, $entity = NULL)

Constructor for EntityReferenceSelectionHandlerGeneric.

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandlerGeneric.inc, line 43
Generic Entity handler.

Class

EntityReferenceSelectionHandlerGeneric
@file 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;
}