You are here

public function ChartType::jsonSerialize in Charts 8.3

Same name in this branch
  1. 8.3 modules/charts_google/src/Settings/Google/ChartType.php \Drupal\charts_google\Settings\Google\ChartType::jsonSerialize()
  2. 8.3 modules/charts_billboard/src/Settings/Billboard/ChartType.php \Drupal\charts_billboard\Settings\Billboard\ChartType::jsonSerialize()
  3. 8.3 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType::jsonSerialize()
Same name and namespace in other branches
  1. 8 modules/charts_google/src/Settings/Google/ChartType.php \Drupal\charts_google\Settings\Google\ChartType::jsonSerialize()

Json Serialize.

Return value

array Json Serialize.

File

modules/charts_google/src/Settings/Google/ChartType.php, line 39

Class

ChartType
Chart Type.

Namespace

Drupal\charts_google\Settings\Google

Code

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