param { Config } config param { string } pluginName return { Object } function getPluginConfig ( config , pluginName ) { const pluginsConfig = config . getValues ( ) . get ( "pluginsConfig" ) ; if ( pluginsConfig === undefined ) { return { } ; } const pluginConf = pluginsConfig . get ( pluginName ) ; if ( pluginConf === undefined ) { return { } ; } else { return pluginConf . toJS ( ) ; } } export default getPluginConfig ;