You are here

public function ParserManagerInterface::getDefaultParser in Markdown 8.2

Retrieves the site-wide default MarkdownParser plugin.

Parameters

array $configuration: An array of configuration relevant to the plugin instance.

Return value

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

1 method overrides ParserManagerInterface::getDefaultParser()
ParserManager::getDefaultParser in src/PluginManager/ParserManager.php
Retrieves the site-wide default MarkdownParser plugin.

File

src/PluginManager/ParserManagerInterface.php, line 28

Class

ParserManagerInterface
Interface for the Markdown Parser Plugin Manager.

Namespace

Drupal\markdown\PluginManager

Code

public function getDefaultParser(array $configuration = []);