getAvailableActions

getAvailableActions is a helper function that returns all the available registered actions in Dashboard

How to use

import { Plugin } from'@root'

Plugin.getAvailableActions('OPTIONAL_PLUGIN_BUNDLE')

By passing a plugin bundle id as an argument to getAvailableActions, Dashboard will check for the registered actions that has been registered with the plugin that matches the same bundle

Last updated

Was this helpful?