You are here

public function ChartCredits::jsonSerialize in Charts 8

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

Return value

array

File

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

Class

ChartCredits

Namespace

Drupal\charts_highcharts\Settings\Highcharts

Code

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