You are here

public function Markdown::__construct in Markdown 3.0.x

Same name in this branch
  1. 3.0.x src/Markdown.php \Drupal\markdown\Markdown::__construct()
  2. 3.0.x src/Plugin/Filter/Markdown.php \Drupal\markdown\Plugin\Filter\Markdown::__construct()
Same name and namespace in other branches
  1. 8.2 src/Markdown.php \Drupal\markdown\Markdown::__construct()

Markdown constructor.

Parameters

\Drupal\markdown\MarkdownParserManagerInterface $markdown_parsers: The MarkdownParser Plugin Manager service.

File

src/Markdown.php, line 34

Class

Markdown
Class Markdown.

Namespace

Drupal\markdown

Code

public function __construct(MarkdownParserManagerInterface $markdown_parsers) {
  $this->parsers = $markdown_parsers;
}