MenuItem
Represents a single menu item in a navigation menu.
type MenuItem implements Node {
id: ID!
name: String!
sortOrder: Int
level: Int!
lft: Int!
rght: Int!
treeId: Int!
parent: MenuItem
children: [MenuItem!]!
menu: Menu!
page: Page
policy: Policy
category: Category
collection: Collection
seller: Seller
product: Product
content: Content
url: String
}
Show more ↓
Fields
MenuItem.id ● ID! non-null scalar
The Globally Unique ID of this object
MenuItem.name ● String! non-null scalar
MenuItem.sortOrder ● Int scalar
MenuItem.level ● Int! non-null scalar
MenuItem.lft ● Int! non-null scalar
MenuItem.rght ● Int! non-null scalar
MenuItem.treeId ● Int! non-null scalar
MenuItem.parent ● MenuItem object
Parent menu item (null for root items)
MenuItem.children ● [MenuItem!]! non-null object
Child menu items
MenuItem.menu ● Menu! non-null object
The menu this item belongs to
MenuItem.page ● Page object
Linked page (if this item links to a page)
MenuItem.policy ● Policy object
Linked policy (if this item links to a policy)
MenuItem.category ● Category object
Linked category (if this item links to a category)
MenuItem.collection ● Collection object
Linked collection (if this item links to a collection)
MenuItem.seller ● Seller object
Linked seller (if this item links to a seller)
MenuItem.product ● Product object
Linked product (if this item links to a product)
MenuItem.content ● Content object
Linked content (if this item links to content)
MenuItem.url ● String scalar
Custom URL or resolved URL from linked object
Interfaces
Node interface
An object with a Globally Unique ID
Returned By
menuItem query
Member Of
Menu object ● MenuItem object ● MenuItemCountableEdge object ● MenuItemCreate object ● MenuItemDelete object ● MenuItemUpdate object