You are here

public function PluginLabelDefinitionInterface::getLabel in Plugin 8.2

Gets the human-readable plugin label.

Return value

\Drupal\Core\StringTranslation\TranslatableString|string|null The label or NULL if there is none.

1 method overrides PluginLabelDefinitionInterface::getLabel()
ArrayPluginDefinitionDecorator::getLabel in src/PluginDefinition/ArrayPluginDefinitionDecorator.php
Gets the human-readable plugin label.

File

src/PluginDefinition/PluginLabelDefinitionInterface.php, line 28

Class

PluginLabelDefinitionInterface
Defines a plugin definition that includes a label.

Namespace

Drupal\plugin\PluginDefinition

Code

public function getLabel();