You are here

class Tooltip in Charts 8

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

Hierarchy

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

Expanded class hierarchy of Tooltip

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

File

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

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class Tooltip implements \JsonSerializable {
  private $valueSuffix = '';

  /**
   * @return string
   */
  public function getValueSuffix() {
    return $this->valueSuffix;
  }

  /**
   * @param string $valueSuffix
   */
  public function setValueSuffix($valueSuffix) {
    $this->valueSuffix = $valueSuffix;
  }

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

}

Members