(UI 0.9.9)
UI\Menu::appendCheck — Append Checkable Menu Item
$name
[, string $type
= UI\MenuItem::class
] ) : UI\MenuItemShall append a checkable menu item
name
The name (text) for the new item
type
The type for the new item
A constructed checkable menu item of the given type