You are here

public static function EntityReference_SelectionHandler_EntityQueue::getInstance in Entityqueue 7

Overrides EntityReference_SelectionHandler_Generic::getInstance().

Overrides EntityReference_SelectionHandler_Generic::getInstance

File

plugins/entityreference/selection/EntityReference_SelectionHandler_EntityQueue.class.php, line 16
Definition of EntityReference_SelectionHandler_EntityQueue.

Class

EntityReference_SelectionHandler_EntityQueue
Defines a Entityreference selection handler for Entityqueue.

Code

public static function getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
  return new EntityReference_SelectionHandler_EntityQueue($field, $instance, $entity_type, $entity);
}