Content Node Menu Items¶
Content Node Menu Item is a menu item with target type
Content Node. Such menu items are processed by the menu builder
Oro\Bundle\CommerceMenuBundle\Builder\ContentNodeTreeBuilder that is responsible for the following:
Ensures that the content node restrictions are satisfied by getting resolved content nodes from
Sets the menu item URI (and label if not set) according to the title of the underlying content node.
Adds children menu items mimicking the content node children tree as per
Oro\Bundle\CommerceMenuBundle\Entity\MenuUpdate::$maxTraverseLevelfield. Such menu items are treated as system menu items and marked with an extra option
Oro\Bundle\CommerceMenuBundle\Builder\ContentNodeTreeBuilder::IS_TREE_ITEMdenoting the menu item as a tree item that was added automatically.
Content Node Menu Item always has an extra option
Oro\Bundle\CommerceMenuBundle\Entity\MenuUpdate::TARGET_CONTENT_NODE that contains the underlying content node.