You are here

public static function WebformAnalysis::getChartTypeOptions in Webform Analysis 8

Get Chart Type Options.

Return value

array Chart Type Options.

Overrides WebformAnalysisInterface::getChartTypeOptions

2 calls to WebformAnalysis::getChartTypeOptions()
WebformAnalysisBlock::blockForm in src/Plugin/Block/WebformAnalysisBlock.php
WebformAnalysisForm::buildForm in src/Form/WebformAnalysisForm.php
Form constructor.

File

src/WebformAnalysis.php, line 165

Class

WebformAnalysis
WebformAnalysis.

Namespace

Drupal\webform_analysis

Code

public static function getChartTypeOptions() {
  return [
    '' => t('Table'),
    'PieChart' => t('Pie Chart'),
    'ColumnChart' => t('Column Chart'),
  ];
}