You are here

public function Type::getLabel 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::getLabel()

Gets the chart type label.

Return value

string The chart type label.

Overrides TypeInterface::getLabel

File

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

Class

Type
Chart type class plugins.

Namespace

Drupal\charts\Plugin\chart\Type

Code

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