You are here

public function BaseExtension::getVersion in Markdown 3.0.x

The current version of the parser.

Return value

string|null The parser version.

Overrides MarkdownInstallablePluginInterface::getVersion

1 call to BaseExtension::getVersion()
BaseExtension::getLabel in src/Plugin/Markdown/Extension/BaseExtension.php
Displays the human-readable label of the plugin.

File

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

Class

BaseExtension
Base class for markdown extensions.

Namespace

Drupal\markdown\Plugin\Markdown\Extension

Code

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