You are here

public function RedhenGroupSelectionHandler::countReferencableEntities in RedHen CRM 7

Count entities that are referencable by a given field.

Overrides EntityReference_SelectionHandler::countReferencableEntities

File

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

Class

RedhenGroupSelectionHandler
RedHenGroup selection handler.

Code

public function countReferencableEntities($match = NULL, $match_operator = 'CONTAINS') {
  return count($this
    ->getContactGroups());
}