public function Markdown::__construct in Markdown 3.0.x
Same name in this branch
- 3.0.x src/Markdown.php \Drupal\markdown\Markdown::__construct()
- 3.0.x src/Plugin/Filter/Markdown.php \Drupal\markdown\Plugin\Filter\Markdown::__construct()
Same name and namespace in other branches
- 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\markdownCode
public function __construct(MarkdownParserManagerInterface $markdown_parsers) {
$this->parsers = $markdown_parsers;
}