Plugin: Multiple menu actions

pr0ph37 4 weeks ago 0


Is it possible to have for a plugin multiple menu actions?

I create a menu action with this command:

static $localeSection = 'Custom Actions: Copy file to S3'

Now I want to add multiple:

  • Move file to S3
  • Copy file to S3

Is this possible? And how can I work then with the function 

function run()

When there are multiple menu actions.