ChartCredits.php in Charts 8.3
File
modules/charts_highcharts/src/Settings/Highcharts/ChartCredits.php
View source
<?php
namespace Drupal\charts_highcharts\Settings\Highcharts;
class ChartCredits implements \JsonSerializable {
private $enabled = FALSE;
private $text;
private $position;
private $href = '#';
public function isEnabled() {
return $this->enabled;
}
public function setEnabled($enabled) {
$this->enabled = $enabled;
}
public function getText() {
return $this->text;
}
public function setText($text) {
$this->text = $text;
}
public function getPosition() {
return $this->position;
}
public function setPosition($position) {
$this->position = $position;
}
public function getHref() {
return $this->href;
}
public function setHref($href) {
$this->href = $href;
}
public function jsonSerialize() {
$vars = get_object_vars($this);
return $vars;
}
}