UI\Menu::appendPreferences

Append Preferences Menu Item

Description

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

Shall append a Preferences menu item

Parameters

type

The type for the new item

Return Values

A constructed Preferences menu item of the given type