function formatSubMenuItems(aSubMenu) {
		if (aSubMenu) {
			return aSubMenu.map(function(oSubMenu, iIndex) {
				return {
					id: oSubMenu.key || `${sPluginId}_SUB_${iIndex}`,
					icon: oSubMenu.icon || "blank",
					text: oSubMenu.name || "",
					enabled: oSubMenu.hasOwnProperty("enabled") ? oSubMenu.enabled : true
				};
			});
		}
		return undefined;
	}
Retrieve the context menu item for the actions.
If multiple actions are defined for Settings, it returns multiple menu items.
@param {sap.ui.dt.ElementOverlay[]} aElementOverlays - Target overlays
@return {object[]} array of the items with required data