You are here

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

Indicates whether the parser is installed.

Return value

bool

Overrides BaseParser::installed

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

File

src/Plugin/Markdown/PhpMarkdown.php, line 36

Class

PhpMarkdown
Plugin annotation @MarkdownParser( id = "michelf/php-markdown", label = @Translation("PHP Markdown"), url = "https://michelf.ca/projects/php-markdown", )

Namespace

Drupal\markdown\Plugin\Markdown

Code

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