You are here

public function ChartBase::defaultConfiguration in Charts 8.4

Same name and namespace in other branches
  1. 5.0.x src/Plugin/chart/Library/ChartBase.php \Drupal\charts\Plugin\chart\Library\ChartBase::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

2 calls to ChartBase::defaultConfiguration()
ChartBase::setConfiguration in src/Plugin/chart/Library/ChartBase.php
Sets the configuration for this plugin instance.
Highcharts::defaultConfiguration in modules/charts_highcharts/src/Plugin/chart/Library/Highcharts.php
Gets default configuration for this plugin.
1 method overrides ChartBase::defaultConfiguration()
Highcharts::defaultConfiguration in modules/charts_highcharts/src/Plugin/chart/Library/Highcharts.php
Gets default configuration for this plugin.

File

src/Plugin/chart/Library/ChartBase.php, line 42

Class

ChartBase
Base class Chart plugins.

Namespace

Drupal\charts\Plugin\chart\Library

Code

public function defaultConfiguration() {
  return [];
}