Problem/Motivation

I have created a custom Mailhandler command plugin and put it into a module, but it is loading too early. Mailhandler's plugins need to process the $message object before I do my bits to it. I can't find any hooks or properties to say "run this last", and modifying system.weight in the db had no effect.

Is there a hook or property I need to implement to achieve this, or some kind of file naming convention?

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

The order plugins are loaded has nothing to do with the order plugins are processed. That's up to the module implementing the plugin type. You will need to ask there, which I guess is the mailhandler module?