You are here

public static function BaseParser::version in Markdown 3.0.x

Retrieves the version of the installed parser.

Return value

string|null

Overrides MarkdownInstallablePluginInterface::version

4 methods override BaseParser::version()
LeagueCommonMark::version in src/Plugin/Markdown/LeagueCommonMark.php
Retrieves the version of the installed parser.
Parsedown::version in src/Plugin/Markdown/Parsedown.php
Retrieves the version of the installed parser.
PeclCmark::version in src/Plugin/Markdown/PeclCmark.php
Retrieves the version of the installed parser.
PhpMarkdown::version in src/Plugin/Markdown/PhpMarkdown.php
Retrieves the version of the installed parser.

File

src/Plugin/Markdown/BaseParser.php, line 82

Class

BaseParser
Plugin annotation @MarkdownParser( id = "_broken", label = @Translation("Missing Parser"), )

Namespace

Drupal\markdown\Plugin\Markdown

Code

public static function version() {
  return NULL;
}