You are here

public function ChartTitle::jsonSerialize in Charts 8

Same name in this branch
  1. 8 modules/charts_c3/src/Settings/CThree/ChartTitle.php \Drupal\charts_c3\Settings\CThree\ChartTitle::jsonSerialize()
  2. 8 modules/charts_highcharts/src/Settings/Highcharts/ChartTitle.php \Drupal\charts_highcharts\Settings\Highcharts\ChartTitle::jsonSerialize()
Same name and namespace in other branches
  1. 8.3 modules/charts_highcharts/src/Settings/Highcharts/ChartTitle.php \Drupal\charts_highcharts\Settings\Highcharts\ChartTitle::jsonSerialize()

Return value

array

1 method overrides ChartTitle::jsonSerialize()
YaxisTitle::jsonSerialize in modules/charts_highcharts/src/Settings/Highcharts/YaxisTitle.php

File

modules/charts_highcharts/src/Settings/Highcharts/ChartTitle.php, line 25

Class

ChartTitle

Namespace

Drupal\charts_highcharts\Settings\Highcharts

Code

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