UI\Menu::append
PHP function
Edit on GitHub ✎
(UI 0.9.9)
Append Menu Item
Description
UI\Menu::append(string $name, string $type = UI\MenuItem::class): UI\MenuItem
Shall append a new Menu Item
Parameters
nameThe name (text) for the new item
typeThe type for the new item
Return Values
A constructed object of the given type