You are here

public function WebformAnalysisChart::buildComponentsData in Webform Analysis 8

Build Components Data.

Return value

array Renderable.

Overrides WebformAnalysisChartInterface::buildComponentsData

1 call to WebformAnalysisChart::buildComponentsData()
WebformAnalysisChart::build in src/WebformAnalysisChart.php
Build.

File

src/WebformAnalysisChart.php, line 87

Class

WebformAnalysisChart
Webform Analysis Chart.

Namespace

Drupal\webform_analysis

Code

public function buildComponentsData() {
  return [
    '#type' => 'container',
    '#attributes' => [
      'class' => [
        'webform-analysis-data',
      ],
    ],
  ];
}