You are here

public function PluginSelectorBase::setDescription in Plugin 8.2

Sets the human-readable description.

Parameters

string $description:

Return value

$this

Overrides PluginSelectorInterface::setDescription

File

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

Class

PluginSelectorBase
Provides a base plugin selector.

Namespace

Drupal\plugin\Plugin\Plugin\PluginSelector

Code

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