Backend Plugin Configurations

Hi, can anyone help with something I need to do, please? 

I’m trying to access a plugin configuration and change the backend coponents of the Articles acording to that configuration. So far I know that to get the configuration in PHP I need to access Config()->get(‚configName‘) but how do I pass this to Extjs? 

Help would be very apreciated,

Thank you

You can assign our variable to the view and output the variable in the extjs code. All extjs templates are compiled with smarty. So you can do: 

var myvar = "{$myVar}";