getOrInstall
fun <C : Any, T : Any> PluginRegistry.getOrInstall(plugin: EnginePlugin<C, T>, configure: C.() -> Unit = { }): T
Deprecated
Use getOrConfigure instead
Replace with
getOrConfigure(plugin, configure)
Content copied to clipboard
Returns the installed plugin instance from the registry, or throws IllegalStateException of no plugin instance is found.