You are here

class DataLabelStatus in Charts 8.3

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

Data Label Status.

Hierarchy

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

Expanded class hierarchy of DataLabelStatus

File

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

Namespace

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

  /**
   * Is Enabled.
   *
   * @return bool
   *   Enabled.
   */
  public function isEnabled() {
    return $this->enabled;
  }

  /**
   * Set Enabled.
   *
   * @param bool $enabled
   *   Enabled.
   */
  public function setEnabled($enabled) {
    $this->enabled = $enabled;
  }

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

}

Members

Namesort descending Modifiers Type Description Overrides
DataLabelStatus::$enabled private property
DataLabelStatus::isEnabled public function Is Enabled.
DataLabelStatus::jsonSerialize public function Json Serialize.
DataLabelStatus::setEnabled public function Set Enabled.