getMenuItemId

fun getMenuItemId(frontendContext: FrontendContext): MenuItem.Id?

Gets the menu item ID associated with the given frontendContext.

If there is no menu item ID associated with the frontendContext, this returns null.