---
title: "entry(configuration:context:)"
framework: widgetkit
role: symbol
role_heading: Instance Method
path: "widgetkit/relevanceentriesprovider/entry(configuration:context:)"
---

# entry(configuration:context:)

Provides the entry used to render a widget for a specific relevance configuration.

## Declaration

```swift
func entry(configuration: Self.Configuration, context: Self.Context) async throws -> Self.Entry
```

## Parameters

- `configuration`: The configuration for when this widget is relevant.
- `context`: An object describing the context to show the widget in.

## Mentioned in

Increasing the visibility of widgets in Smart Stacks

## Return Value

Return Value A relevance entry representing the widget in this configuration.

## See Also

### Generating relevance entries

- [relevance()](widgetkit/relevanceentriesprovider/relevance().md)
- [placeholder(context:)](widgetkit/relevanceentriesprovider/placeholder(context:).md)
- [RelevanceEntriesProviderContext](widgetkit/relevanceentriesprovidercontext.md)
