public static function OgSelectionHandler::getInstance in Organic groups 7.2
Implements EntityReferenceHandler::getInstance().
Overrides EntityReference_SelectionHandler_Generic::getInstance
1 method overrides OgSelectionHandler::getInstance()
- OgExampleSelectionHandler::getInstance in og_example/
plugins/ entityreference/ selection/ OgExampleSelectionHandler.class.php - Overrides OgSelectionHandler::getInstance().
File
- plugins/
entityreference/ selection/ OgSelectionHandler.class.php, line 12
Class
- OgSelectionHandler
- OG selection handler.
Code
public static function getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
return new OgSelectionHandler($field, $instance, $entity_type, $entity);
}