You are here

public function Type::getId in Charts 8.4

Same name and namespace in other branches
  1. 5.0.x src/Plugin/chart/Type/Type.php \Drupal\charts\Plugin\chart\Type\Type::getId()

Gets the chart type ID.

Return value

string The chart type ID.

Overrides TypeInterface::getId

File

src/Plugin/chart/Type/Type.php, line 15

Class

Type
Chart type class plugins.

Namespace

Drupal\charts\Plugin\chart\Type

Code

public function getId() {
  return $this->pluginDefinition['id'];
}