Returns a preconfigured instance of a plugin.
string $plugin_id: The id of the plugin being instantiated.
array $configuration: An array of configuration relevant to the plugin instance.
object A fully configured plugin instance.
public function createInstance($plugin_id, array $configuration);