You are here

public static function OgCommonsSelectionHandler::getInstance in Drupal Commons 7.3

Implements EntityReferenceHandler::getInstance().

Overrides OgSelectionHandler::getInstance

File

modules/commons/commons_groups/plugins/entityreference/selection/OgCommonsSelectionHandler.class.php, line 10
OG Commons groups selection handler.

Class

OgCommonsSelectionHandler
@file OG Commons groups selection handler.

Code

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