You are here

protected function FlotTime::defineOptions in Flot 8

Set default options.

Overrides StylePluginBase::defineOptions

File

flot_views_time/src/Plugin/views/style/FlotTime.php, line 33

Class

FlotTime
Style plugin to render dates and values as a bar, scatter, or line chart.

Namespace

Drupal\flot_views_time\Plugin\views\style

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['columns'] = [
    'default' => [],
  ];
  $options['info'] = [
    'default' => [],
  ];
  return $options;
}