You are here

public function PluginDescriptionDefinitionInterface::setDescription in Plugin 8.2

Sets the human-readable plugin description.

Parameters

\Drupal\Core\StringTranslation\TranslatableMarkup|string $description: The description.

Return value

$this

1 method overrides PluginDescriptionDefinitionInterface::setDescription()
ArrayPluginDefinitionDecorator::setDescription in src/PluginDefinition/ArrayPluginDefinitionDecorator.php
Sets the human-readable plugin description.

File

src/PluginDefinition/PluginDescriptionDefinitionInterface.php, line 20

Class

PluginDescriptionDefinitionInterface
Defines a plugin definition that includes a description.

Namespace

Drupal\plugin\PluginDefinition

Code

public function setDescription($description);