---
title: "getCurrentConfigurations(_:)"
framework: widgetkit
role: symbol
role_heading: Instance Method
path: "widgetkit/widgetcenter/getcurrentconfigurations(_:)"
---

# getCurrentConfigurations(_:)

Retrieves information about user-configured widgets.

## Declaration

```swift
@preconcurrency func getCurrentConfigurations(_ completion: @escaping @Sendable (Result<[WidgetInfo], any Error>) -> Void)
```

## Parameters

- `completion`: A completion handler called when the widget information is available.

## Mentioned in

Making a configurable widget

## See Also

### Getting Widget Information

- [shared](widgetkit/widgetcenter/shared.md)
- [WidgetCenter.UserInfoKey](widgetkit/widgetcenter/userinfokey.md)
