You are here

public function YaxisTitle::jsonSerialize in Charts 8

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

Return value

array

Overrides ChartTitle::jsonSerialize

File

modules/charts_highcharts/src/Settings/Highcharts/YaxisTitle.php, line 26

Class

YaxisTitle

Namespace

Drupal\charts_highcharts\Settings\Highcharts

Code

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