You are here

class ChartTitle in Charts 8

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

Hierarchy

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

Expanded class hierarchy of ChartTitle

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

File

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

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class ChartTitle implements \JsonSerializable {
  private $text;

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

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
ChartTitle::$text private property 1
ChartTitle::getText public function 1
ChartTitle::jsonSerialize public function 1
ChartTitle::setText public function 1