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()
Same name and namespace in other branches
  1. 8.3 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType::jsonSerialize()

Return value

array

File

modules/charts_c3/src/Settings/CThree/ChartType.php, line 25

Class

ChartType

Namespace

Drupal\charts_c3\Settings\CThree

Code

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