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\PluginSelectorCode
public function setLabel($label) {
$this->configuration['label'] = $label;
return $this;
}