Log in
Model

Builder

Magento\Backend\Model\Menu\Builder

What it does

This class builds Magento 2's backend admin menu structure by processing a series of commands that define menu items and their hierarchy.

Developers use this when extending or customizing the admin panel menu, as it handles the creation of menu items and their parent-child relationships based on configuration.

It validates menu structure and ensures proper ordering and nesting of menu elements.

Public Methods

  • processCommand()
  • getResult()