You are here

public function BaseExtension::getDescription in Markdown 3.0.x

Retrieves the description of the plugin, if set.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The description.

Overrides MarkdownInstallablePluginInterface::getDescription

File

src/Plugin/Markdown/Extension/BaseExtension.php, line 94

Class

BaseExtension
Base class for markdown extensions.

Namespace

Drupal\markdown\Plugin\Markdown\Extension

Code

public function getDescription() {
  return $this->pluginDefinition['description'] ?? NULL;
}