You are here

class Marker in Charts 8.3

Data Label Status.

Hierarchy

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

Expanded class hierarchy of Marker

1 file declares its use of Marker
Highcharts.php in modules/charts_highcharts/src/Plugin/chart/Highcharts.php

File

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

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class Marker implements \JsonSerializable {
  private $enabled;

  /**
   * Is Enabled.
   *
   * @return bool
   *   Enabled.
   */
  public function getEnabled() {
    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
Marker::$enabled private property
Marker::getEnabled public function Is Enabled.
Marker::jsonSerialize public function Json Serialize.
Marker::setEnabled public function Set Enabled.