Skip to content
Snippets Groups Projects
Commit e6fd25ce authored by Daniel Cothran's avatar Daniel Cothran Committed by Daniel Cothran
Browse files

Issue #3370729 by andileco, nikathone: calculateDependencies using wrong...

Issue #3370729 by andileco, nikathone: calculateDependencies using wrong parameter in Views style plugin
parent 239758b4
No related branches found
No related tags found
No related merge requests found
......@@ -576,8 +576,8 @@ class ChartsPluginStyleChart extends StylePluginBase implements ContainerFactory
public function calculateDependencies() {
$dependencies = [];
if (!empty($this->options['library'])) {
$plugin_definition = $this->chartManager->getDefinition($this->options['library']);
if (!empty($this->options['chart_settings']['library'])) {
$plugin_definition = $this->chartManager->getDefinition($this->options['chart_settings']['library']);
$dependencies['module'] = [$plugin_definition['provider']];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment