Defines a global plugin and returns the plugin object.
The plugin object to be defined.
The defined plugin object.
Defines a global plugin and returns the plugin object.