Skip to main content
1 vote

add dropdown menu in a plugin

You're looking to use the Toolbar API: // Get a custom toolbar instance $toolbar = Factory::getApplication()->getDocument()->getToolbar('plg_your_plugin'); // Add dropdown button $dropdown = $...
Sharky's user avatar
  • 11.5k

Only top scored, non community-wiki answers of a minimum length are eligible