1 EntityReferenceSelectionHandlerViews.inc protected EntityReferenceSelectionHandlerViews::__construct($field, $instance, $entity)

Constructor for EntityReferenceSelectionHandlerViews.

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandlerViews.inc, line 23

Class

EntityReferenceSelectionHandlerViews
Entity handler for Views.

Code

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