You are here

public function ChartColor::jsonSerialize in Charts 8

Same name and namespace in other branches
  1. 8.3 modules/charts_c3/src/Settings/CThree/ChartColor.php \Drupal\charts_c3\Settings\CThree\ChartColor::jsonSerialize()

Return value

array

File

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

Class

ChartColor

Namespace

Drupal\charts_c3\Settings\CThree

Code

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