You are here

public static function RedhenGroupSelectionHandler::getInstance in RedHen CRM 7

Factory function: create a new instance of this handler for a given field.

@string $field A field data structure.

Return value

RedhenGroupSelectionHandler New instance of RedhenGroupSelectionHandler.

Overrides EntityReference_SelectionHandler::getInstance

File

modules/redhen_org_group/plugins/selection/RedhenGroupSelectionHandler.class.php, line 26

Class

RedhenGroupSelectionHandler
RedHenGroup selection handler.

Code

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