You are here

class Chart in Charts 5.0.x

Same name in this branch
  1. 5.0.x src/Annotation/Chart.php \Drupal\charts\Annotation\Chart
  2. 5.0.x src/Element/Chart.php \Drupal\charts\Element\Chart
Same name and namespace in other branches
  1. 8.4 src/Annotation/Chart.php \Drupal\charts\Annotation\Chart
  2. 8.3 src/Annotation/Chart.php \Drupal\charts\Annotation\Chart

Defines an Chart annotation object.

Hierarchy

Expanded class hierarchy of Chart

1 string reference to 'Chart'
charts.views.schema.yml in config/schema/charts.views.schema.yml
config/schema/charts.views.schema.yml
5 classes are annotated with Chart
Billboard in modules/charts_billboard/src/Plugin/chart/Library/Billboard.php
Define a concrete class for a Chart.
C3 in modules/charts_c3/src/Plugin/chart/Library/C3.php
Define a concrete class for a Chart.
Chartjs in modules/charts_chartjs/src/Plugin/chart/Library/Chartjs.php
Define a concrete class for a Chart.
Google in modules/charts_google/src/Plugin/chart/Library/Google.php
Define a concrete class for a Chart.
Highcharts in modules/charts_highcharts/src/Plugin/chart/Library/Highcharts.php
Defines a concrete class for a Highcharts.

File

src/Annotation/Chart.php, line 12

Namespace

Drupal\charts\Annotation
View source
class Chart extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The plugin name.
   *
   * @var string
   */
  public $name;

}

Members

Namesort descending Modifiers Type Description Overrides
Chart::$id public property The plugin ID.
Chart::$name public property The plugin name.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider 1
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2