Plugin mechanism in ContentBox 3

Hi,

in ContentBox 2.1 I have a lot of calls to plugins of my module, like

property name=“tag” inject=“coldbox:myPlugin:tag@contentbox-custommodule”;

or

getPlugin(“MessageBox”).info(“Item saved!”);.

In ContentBox 3 the plugin mechanism is completely removed (seems like its done in Coldbox 4).

Can anybody give me a hint whats the best way to get code thats works in CB 2.1 get working in CB3 and/or make it compatible to both versions.

Thank you,

Andreas

Plugins are removed in Coldbox 4.0

Instead of this:

`
getPlugin(“MessageBox”).info(“Item saved!”)

`

you can simply use:

`

getInstance(“MessageBox@cbmessagebox”).info(‘Item saved!’);

`