UI\Menu::appendPreferences

(UI 0.9.9)

UI\Menu::appendPreferencesAppend Preferences Menu Item

說明

public UI\Menu::appendPreferences(string $type = UI\MenuItem::class): UI\MenuItem

Shall append a Preferences menu item

參數(shù)

type

The type for the new item

返回值

A constructed Preferences menu item of the given type