<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [FacetsMutations](./x-components.facetsmutations.md) &gt; [setFacetGroup](./x-components.facetsmutations.setfacetgroup.md)

## FacetsMutations.setFacetGroup() method

Sets the group id of the facet.

**Signature:**

```typescript
setFacetGroup(facetGroupEntry: FacetGroupEntry): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  facetGroupEntry | [FacetGroupEntry](./x-components.facetgroupentry.md) | An object containing the new groupId and the facetId of the facet to update. |

**Returns:**

void

