public function MarkdownInterface::getParser in Markdown 8.2
Same name and namespace in other branches
- 3.0.x src/MarkdownInterface.php \Drupal\markdown\MarkdownInterface::getParser()
Retrieves a MarkdownParser plugin.
Parameters
string $parserId: Optional. The plugin identifier of a specific MarkdownParser to retrieve. If not provided, the default site-wide parser will be used.
array $configuration: An array of configuration relevant to the plugin instance.
Return value
\Drupal\markdown\Plugin\Markdown\ParserInterface A MarkdownParser plugin.
1 method overrides MarkdownInterface::getParser()
- Markdown::getParser in src/
Markdown.php - Retrieves a MarkdownParser plugin.
File
- src/
MarkdownInterface.php, line 119
Class
- MarkdownInterface
- Interface MarkdownInterface.
Namespace
Drupal\markdownCode
public function getParser($parserId = NULL, array $configuration = []);