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