You are here

class DataLabelStatus in Charts 8

Same name and namespace in other branches
  1. 8.3 modules/charts_highcharts/src/Settings/Highcharts/DataLabelStatus.php \Drupal\charts_highcharts\Settings\Highcharts\DataLabelStatus

Hierarchy

  • class \Drupal\charts_highcharts\Settings\Highcharts\DataLabelStatus implements \Drupal\charts_highcharts\Settings\Highcharts\JsonSerializable

Expanded class hierarchy of DataLabelStatus

1 file declares its use of DataLabelStatus
charts_highcharts.module in modules/charts_highcharts/charts_highcharts.module
Charts module integration with Highcharts library.

File

modules/charts_highcharts/src/Settings/Highcharts/DataLabelStatus.php, line 5

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class DataLabelStatus implements \JsonSerializable {
  private $enabled = TRUE;

  /**
   * @return boolean
   */
  public function isEnabled() {
    return $this->enabled;
  }

  /**
   * @param boolean $enabled
   */
  public function setEnabled($enabled) {
    $this->enabled = $enabled;
  }

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

}

Members