You are here

public function ChartLegend::jsonSerialize in Charts 8

Same name and namespace in other branches
  1. 8.3 modules/charts_highcharts/src/Settings/Highcharts/ChartLegend.php \Drupal\charts_highcharts\Settings\Highcharts\ChartLegend::jsonSerialize()

Return value

array

File

modules/charts_highcharts/src/Settings/Highcharts/ChartLegend.php, line 145

Class

ChartLegend

Namespace

Drupal\charts_highcharts\Settings\Highcharts

Code

public function jsonSerialize() {
  $vars = get_object_vars($this);
  return $vars;
}