registerPlugin()

Register a plugin

The plugin instance then can be accessed via the getPlugin() method, or removed completely by the deregisterPlugin() method

registerPlugin(name: String, plugin: Object): Core

* presents a required parameter

  • name * — The name of plugin
  • plugin * — The plugin instance