Internal
Optional
_sortString: stringOptional
_when: stringtechnical identifier.
Menu nodes are sorted in ascending order based on their sortString
.
Whether the group or submenu contains any visible children
The menu path where visibility is checked
The context matcher to use
the context to use
the command arguments, if applicable
For most use cases, refer to MenuAction or MenuNode