You are here

protected function ExtensibleParser::extensionManager in Markdown 3.0.x

Retrieves the Markdown Extension Manager service.

Return value

\Drupal\markdown\MarkdownExtensionManagerInterface

File

src/Plugin/Markdown/ExtensibleParser.php, line 79

Class

ExtensibleParser
Class ExtensibleMarkdownParser.

Namespace

Drupal\markdown\Plugin\Markdown

Code

protected function extensionManager() : MarkdownExtensionManagerInterface {
  if (!static::$extensionManager) {
    static::$extensionManager = \Drupal::service('plugin.manager.markdown.extension');
  }
  return static::$extensionManager;
}