You are here

public function FilterMarkdown::getParser in Markdown 8.2

Retrieves the MarkdownParser plugin for this filter.

Return value

\Drupal\markdown\Plugin\Markdown\ParserInterface The MarkdownParser plugin.

Overrides ParserAwareTrait::getParser

1 call to FilterMarkdown::getParser()
FilterMarkdown::processSubform in src/Plugin/Filter/FilterMarkdown.php
Process callback for constructing markdown settings for this filter.

File

src/Plugin/Filter/FilterMarkdown.php, line 135

Class

FilterMarkdown
Provides a filter for Markdown.

Namespace

Drupal\markdown\Plugin\Filter

Code

public function getParser() {
  return $this->parser;
}