You are here

class ChartType in Charts 8

Same name in this branch
  1. 8 modules/charts_google/src/Settings/Google/ChartType.php \Drupal\charts_google\Settings\Google\ChartType
  2. 8 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType
  3. 8 modules/charts_highcharts/src/Settings/Highcharts/ChartType.php \Drupal\charts_highcharts\Settings\Highcharts\ChartType
Same name and namespace in other branches
  1. 8.3 modules/charts_c3/src/Settings/CThree/ChartType.php \Drupal\charts_c3\Settings\CThree\ChartType

Hierarchy

  • class \Drupal\charts_c3\Settings\CThree\ChartType implements \Drupal\charts_c3\Settings\CThree\JsonSerializable

Expanded class hierarchy of ChartType

1 file declares its use of ChartType
charts_c3.module in modules/charts_c3/charts_c3.module
Charts module integration with C3 library.

File

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

Namespace

Drupal\charts_c3\Settings\CThree
View source
class ChartType implements \JsonSerializable {
  private $type;

  /**
   * @return mixed
   */
  public function getType() {
    return $this->type;
  }

  /**
   * @param mixed $type
   */
  public function setType($type) {
    $this->type = $type;
  }

  /**
   * @return array
   */
  public function jsonSerialize() {
    $vars = get_object_vars($this);
    return $vars;
  }

}

Members