1 EntityReferenceSelectionHandlerViews.inc | public static EntityReferenceSelectionHandlerViews::getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) |
Implements EntityReferenceHandler::getInstance().
Overrides EntityReferenceSelectionHandlerInterface::getInstance
File
- core/
modules/ entityreference/ plugins/ selection/ EntityReferenceSelectionHandlerViews.inc, line 16
Class
- EntityReferenceSelectionHandlerViews
- Entity handler for Views.
Code
public static function getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
return new EntityReferenceSelectionHandlerViews($field, $instance, $entity);
}