You are here

public function PluginSelectorBase::setLabel in Plugin 8.2

Sets the human-readable label.

Parameters

string $label:

Return value

$this

Overrides PluginSelectorInterface::setLabel

File

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

Class

PluginSelectorBase
Provides a base plugin selector.

Namespace

Drupal\plugin\Plugin\Plugin\PluginSelector

Code

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