MenuItem.getLabel

Sets text on the menu_item label

class MenuItem
string
getLabel
()

Return Value

Type: string

The text in the menu_item label. This is the internal string used by the label, and must not be modified.

Meta

Since

2.16