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\MarkdownCode
public function getDescription() {
return $this->pluginDefinition->description;
}