The /plugin/plugin.cfc allows developers to run code that is needed to properly install, update or delete their plugin.


Each of the first three functions (install(), update() and delete()) is run when the plugin is respectively installed, updated or deleted. When a site manager creates a site bundle and includes the plugin within the bundle, the toBundle() and fromBundle() functions are also appropriately run.