You are here

public function ChartjsOptions::jsonSerialize in Charts 8.3

Json Serialize.

Return value

array Json Serialize.

File

modules/charts_chartjs/src/Settings/Chartjs/ChartjsOptions.php, line 108

Class

ChartjsOptions
Class ChartjsOptions.

Namespace

Drupal\charts_chartjs\Settings\Chartjs

Code

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