You are here

public function AnnotatedPluginBase::getDescription in Markdown 8.2

Retrieves the description of the plugin, if set.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The description.

Overrides AnnotatedPluginInterface::getDescription

File

src/Plugin/Markdown/AnnotatedPluginBase.php, line 74

Class

AnnotatedPluginBase
Base class for annotated plugins.

Namespace

Drupal\markdown\Plugin\Markdown

Code

public function getDescription() {
  return $this->pluginDefinition->description;
}