---
title: "allowedMenuItems(for:)"
framework: automaticassessmentconfiguration
role: symbol
role_heading: Instance Method
path: "automaticassessmentconfiguration/aeassessmentparticipantconfiguration/allowedmenuitems(for:)"
---

# allowedMenuItems(for:)

Returns the set of allowed menu item titles for the given language, or nil if no items have been configured for that language.

## Declaration

```swift
func allowedMenuItems(for language: Locale.Language) -> Set<String>?
```

## Parameters

- `language`: The language for which to return allowed menu items.

## Discussion

Discussion Menu item titles are matched against the participant application’s localized menu items at the time the assessment session begins. The system resolves each language to the best-matching localization the application bundle provides, so an exact locale match is not required.
