[rt-devel] plugins and _Vendor files

Thomas Sibley trs at bestpractical.com
Mon Jun 10 14:34:43 EDT 2013


On 06/10/2013 11:31 AM, Bradley Bell wrote:
> Unless I'm mistaken, no RT class will load more than one Vendor
> overlay, so if I have two plugins installed, and each provide a Vendor
> file, only one will get loaded.

Correct.  The order is determined by the order of plugins listed in
@Plugins.

> Am I correct in surmising that the overlay mechanism was never really
> meant to be used by plugins in this way? It seems most plugins only
> need to make a couple of changes to RT classes and just do it right in
> the main plugin .pm. Are there any other recommended methods?

Correct.  The standard way to do overlays these days is in your main
plugin .pm or other files that are loaded.  Perl gives you all the rope
you need.



More information about the rt-devel mailing list