Model
Menu
Magento\Backend\Model\Menu
What it does
This class manages the Magento 2 admin backend menu structure, providing methods to add, remove, move, and reorder menu items.
Developers use it when customizing the admin navigation menu, such as adding custom module menu entries or reorganizing existing menu items through plugins or observers.
Public Methods
- add()
- get()
- move()
- remove()
- reorder()
- isLast()
- getFirstAvailable()
- getParentItems()
- serialize()
- toArray()
- unserialize()
- populateFromArray()