You are here

public static function OgSubspacesSelectionHandler::getInstance in Open Atrium Core 7.2

Implements EntityReferenceHandler::getInstance().

Overrides EntityReference_SelectionHandler_Generic::getInstance

File

plugins/entityreference/selection/OgSubspacesSelectionHandler.class.php, line 15
Code for OG Subspaces selection handler

Class

OgSubspacesSelectionHandler
OG Subspaces selection handler for OA.

Code

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