Accessing config array of widget externally
jamesxsc opened this issue · comments
The config array of a widget is protected. How can I acces it externally? I need to do because I neeed to use the config in a second view to edit a model.
If you REALLY need this you can add public getConfig() { return $this->config; } method, instantiate the widget and call it, but that's kinda unconventional usage