MenuItemTranslatableContent
Represents menu item's original translatable fields and related translations.
type MenuItemTranslatableContent implements Node {
id: ID!
menuItemId: ID!
name: String!
translation(languageCode: LanguageCodeEnum!): MenuItemTranslation
menuItem: MenuItem @deprecated
}
Fields
MenuItemTranslatableContent.id
● ID!
non-null scalar miscellaneous
The ID of the menu item translatable content.
MenuItemTranslatableContent.menuItemId
● ID!
non-null scalar miscellaneous
The ID of the menu item to translate.
Added in Saleor 3.14
MenuItemTranslatableContent.name
● String!
non-null scalar miscellaneous
Name of the menu item to translate.
MenuItemTranslatableContent.translation
● MenuItemTranslation
object menu
Returns translated menu item fields for the given language code.
MenuItemTranslatableContent.translation.languageCode
●LanguageCodeEnum!
non-null enum miscellaneousA language code to return the translation for menu item.
MenuItemTranslatableContent.menuItem
● MenuItem
deprecated object menu
DEPRECATEDThis field will be removed in Saleor 4.0. Get model fields from the root level queries.
Represents a single item of the related menu. Can store categories, collection or pages.
Interfaces
Node
interface miscellaneous
An object with an ID
Member Of
MenuItemTranslation
object
Implemented By
TranslatableItem
union