You are here

public function ChartLabel::jsonSerialize in Charts 8

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

Return value

array

File

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

Class

ChartLabel

Namespace

Drupal\charts_highcharts\Settings\Highcharts

Code

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