You are here

public function PluginType::getLabel in Plugin 8.2

Gets the human-readable label.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup|string

Overrides PluginTypeInterface::getLabel

File

src/PluginType/PluginType.php, line 177

Class

PluginType
Provides a plugin type.

Namespace

Drupal\plugin\PluginType

Code

public function getLabel() {
  return $this->label;
}