You are here

public function ChartType::jsonSerialize in Charts 8

Same name in this branch
  1. 8 modules/charts_google/src/Settings/Google/ChartType.php \Drupal\charts_google\Settings\Google\ChartType::jsonSerialize()
  2. 8 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType::jsonSerialize()
  3. 8 modules/charts_highcharts/src/Settings/Highcharts/ChartType.php \Drupal\charts_highcharts\Settings\Highcharts\ChartType::jsonSerialize()

Return value

array

File

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

Class

ChartType

Namespace

Drupal\charts_highcharts\Settings\Highcharts

Code

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