public static function OgSubgroupsSelectionHandler::getInstance in Subgroups for Organic groups 7.2
Overrides OgSelectionHandler::getInstance().
Overrides OgSelectionHandler::getInstance
File
- plugins/
entityreference/ selection/ OgSubgroupsSelectionHandler.class.php, line 14 - OG example selection handler.
Class
- OgSubgroupsSelectionHandler
- @file OG example selection handler.
Code
public static function getInstance($field, $instance = NULL, $entity_type = NULL, $entity = NULL) {
return new OgSubgroupsSelectionHandler($field, $instance, $entity_type, $entity);
}