This API is provided by plugin.admin() and provides customization of the admin menu.

adminApi.addMenuLink(text, url, opt_capability)

Add a new link to the end of the admin navigation menu.

  • text String text to appear in the link.

  • url String of the destination URL for the link.

  • opt_capability String of capability required to show this link.

When adding an external link, the URL provided should be a full URL. Otherwise, a non-external link should be relative beginning with a slash. For example, to create a link to open changes, use the value /q/status:open.

See more about capability from List Account Capabilities.