public addItem ( string $menuName, string $subMenuName, string | array $url, integer $order = 50, boolean | string $tooltip = false ) | ||
$menuName | string | The menu's category name. Can be a translation token. |
$subMenuName | string | The menu item's name. Can be a translation token. |
$url | string | array | The URL the admin menu entry should link to, or an array of query parameters that can be used to build the URL. |
$order | integer | The order hint. |
$tooltip | boolean | string | An optional tooltip to display or false to display the tooltip. |