public static function EntityReference_SelectionHandler_Views::getInstance in Entity reference 7
Implements EntityReferenceHandler::getInstance().
Overrides EntityReference_SelectionHandler::getInstance
File
- plugins/
selection/ EntityReference_SelectionHandler_Views.class.php, line 11
Class
- EntityReference_SelectionHandler_Views
- Entity handler for Views.
Code
public static function getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
return new EntityReference_SelectionHandler_Views($field, $instance, $entity);
}