You are here

class ChartCredits in Charts 8

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

Hierarchy

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

Expanded class hierarchy of ChartCredits

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

File

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

Namespace

Drupal\charts_highcharts\Settings\Highcharts
View source
class ChartCredits implements \JsonSerializable {
  private $enabled = FALSE;

  /**
   * @return boolean
   */
  public function isEnabled() {
    return $this->enabled;
  }

  /**
   * @param boolean $enabled
   */
  public function setEnabled($enabled) {
    $this->enabled = $enabled;
  }

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

}

Members