array_merge(['Contact'], array_keys(\CRM_Core_SelectValues::contactType())), 'column' => 'id', ]; case 'Participant': return [ 'extends' => ['Participant', 'ParticipantRole', 'ParticipantEventName', 'ParticipantEventType'], 'column' => 'id', ]; case 'RelationshipCache': return [ 'extends' => ['Relationship'], 'column' => 'relationship_id', ]; } if (array_key_exists($entityName, \CRM_Core_SelectValues::customGroupExtends())) { return [ 'extends' => [$entityName], 'column' => 'id', ]; } return NULL; } }