You are here

public static function LeagueCommonMark::installed in Markdown 3.0.x

Indicates whether the parser is installed.

Return value

bool

Overrides BaseParser::installed

1 call to LeagueCommonMark::installed()
LeagueCommonMark::version in src/Plugin/Markdown/LeagueCommonMark.php
Retrieves the version of the installed parser.

File

src/Plugin/Markdown/LeagueCommonMark.php, line 52

Class

LeagueCommonMark
Plugin annotation @MarkdownParser( id = "thephpleague/commonmark", label = @Translation("CommonMark"), url = "https://commonmark.thephpleague.com", )

Namespace

Drupal\markdown\Plugin\Markdown

Code

public static function installed() : bool {
  return class_exists(static::$converterClass);
}