You are here

public function PluginSelectorBase::getLabel in Plugin 8.2

Gets the human-readable label.

Return value

string

Overrides PluginSelectorInterface::getLabel

3 calls to PluginSelectorBase::getLabel()
AdvancedPluginSelectorBase::buildNoAvailablePlugins in src/Plugin/Plugin/PluginSelector/AdvancedPluginSelectorBase.php
Builds the form elements for when there are no available plugins.
AdvancedPluginSelectorBase::buildOneAvailablePlugin in src/Plugin/Plugin/PluginSelector/AdvancedPluginSelectorBase.php
Builds the form elements for one plugin.
SelectList::buildSelector in src/Plugin/Plugin/PluginSelector/SelectList.php
Builds the form elements for the actual plugin selector.

File

src/Plugin/Plugin/PluginSelector/PluginSelectorBase.php, line 140

Class

PluginSelectorBase
Provides a base plugin selector.

Namespace

Drupal\plugin\Plugin\Plugin\PluginSelector

Code

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