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_c3/src/Settings/CThree/ChartTitle.php \Drupal\charts_c3\Settings\CThree\ChartTitle

Hierarchy

  • class \Drupal\charts_c3\Settings\CThree\ChartTitle implements \Drupal\charts_c3\Settings\CThree\JsonSerializable

Expanded class hierarchy of ChartTitle

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

File

modules/charts_c3/src/Settings/CThree/ChartTitle.php, line 5

Namespace

Drupal\charts_c3\Settings\CThree
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